/* Dashboard Layout Shared Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

html, body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Vue Navbar Styles */
.navbar-vue {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.brand-section:hover .brand-name {
    color: #d4af37;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    transform: translateY(-1px);
    text-decoration: none;
}

.nav-link.contact-btn {
    border: 2px solid #d4af37;
    color: #d4af37;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.nav-link.contact-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.user-info.active,
.user-info:focus {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    outline: none;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown-arrow i.rotated {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(25, 25, 25, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    list-style: none;
    margin: 0;
    display: none;
}

.user-dropdown li {
    margin: 0;
    padding: 0;
}

.user-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.2;
}

.dropdown-item i {
    margin-right: 0.75rem;
    width: 16px;
    color: inherit;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    outline: none;
}

.dropdown-item.logout-btn:hover,
.dropdown-item.logout-btn:focus {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.user-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.1;
}

.user-role {
    color: #d4af37;
    font-weight: 400;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-danger {
    background: transparent;
    color: rgba(220, 53, 69, 0.9);
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transform: translateY(-1px);
}

/* Main Content Area */
.main-content {
    margin-top: 100px;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Dashboard Common Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.dashboard-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

/* Mobile Navigation */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: none;
    flex-direction: column;
    padding: 2rem;
    animation: slideDown 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-brand img {
    height: 35px;
}

.mobile-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.mobile-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    transform: translateX(5px);
}

.mobile-nav-link.contact-btn {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a1a;
    margin-top: 1rem;
}

.mobile-nav-link.contact-btn:hover {
    transform: translateX(5px) scale(1.02);
}

.mobile-user-section {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.mobile-user-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-user-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-vue {
        padding: 1rem 2rem;
        flex-direction: row;
        gap: 0;
    }

    .nav-menu {
        display: none;
    }

    .user-section {
        display: none;
    }

    /* Hide dropdown functionality on mobile */
    .dropdown-arrow {
        display: none !important;
    }

    .user-dropdown {
        display: none !important;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-content {
        margin-top: 80px;
        padding: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Transitions */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}