:root {
    --primary-color: #A88F52;
    --white: #fff;
    --dark-bg: #0D101E;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: none;
    color: #A88F52;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    padding: 0;
}

/* login screen css  */
body {
    overflow-x: hidden;
}

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../images/auth-bg.png');
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.login-left {
    flex: 2;
    position: relative;
    overflow: hidden;
}


.login-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 200px;
}

.login-logo img {
    height: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 60px 200px 0px 0px;
    position: relative;
}

.login-form-panel {
    width: 100%;
    max-width: 420px;
    background-color: #1B213D;
    border-radius: 12px;
    padding: 75px 35px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
}

.login-form-panel h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.5;
}

.login-form-group {
    margin-bottom: 18px;
}

.login-form-group:last-of-type {
    margin-bottom: 0;
}

.login-form-group label {
    display: block;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-password {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: rgba(168, 143, 82, 0.5);
    background-color: rgba(0, 0, 0, 0.4);
}

.remember-password {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remember-password input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.remember-password label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-signin {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-signin:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.create-account-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.create-account-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
}

.create-account-link:hover {
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        flex: 1;
        min-height: 40vh;
    }

    .login-logo {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .login-logo img {
        max-width: 180px;
    }

    .login-right {
        flex: 1;
        padding: 40px 30px;
    }

    .login-form-panel {
        max-width: 100%;
        padding: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    .login-form-panel h1 {
        font-size: 28px;
    }

    .login-right {
        padding: 30px 20px;
    }

    .password-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Admin Panel Layout CSS */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #F5F5F5;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background-color: #0D101E;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-logo {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
    max-width: 180px;
    height: auto;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 5px 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 400;
}

.nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-item.active .nav-link {
    background-color: var(--primary-color);
    color: var(--white);
}

.logout-item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content Area */
.admin-main {
    margin-left: 260px;
    width: calc(100% - 260px);
    transition: all 0.3s ease;
}

.admin-sidebar.collapsed {
    margin-left: -260px;
}

.admin-main.sidebar-collapsed {
    margin-left: 0;
    width: 100%;
}

/* Top Bar */
.admin-topbar {
    background-color: var(--white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: #F5F5F5;
    border-radius: 5px;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 14px;
    z-index: 1;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: none;
    border-radius: 25px;
    width: 400px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #F5F5F5;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    background-color: #EEEEEE;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    color: #333;
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #3B82F6;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background-color: #F5F5F5;
}

.flag {
    font-size: 20px;
}

.language-selector i {
    font-size: 12px;
    color: #999;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background-color: #F5F5F5;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.user-profile i {
    font-size: 12px;
    color: #999;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown {
    min-width: 150px;
}

.user-dropdown {
    min-width: 180px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #F5F5F5;
    color: #333;
}

.dropdown-item i {
    width: 18px;
    font-size: 14px;
    color: #666;
}

.dropdown-divider {
    height: 1px;
    background-color: #E0E0E0;
    margin: 5px 0;
}

/* Content Area */
.admin-content {
    padding: 30px;
    min-height: calc(100vh - 70px);
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        margin-left: -260px;
    }

    .admin-sidebar.collapsed {
        margin-left: 0;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
    }

    .search-input {
        width: 250px;
    }
}

@media (max-width: 767.98px) {
    .admin-topbar {
        padding: 15px 20px;
    }

    .search-input {
        width: 150px;
    }

    .language-selector .language-text {
        display: none;
    }

    .user-name {
        display: none;
    }

    .admin-content {
        padding: 20px 15px;
    }
}
