/* Universal Navbar Styles - Shared across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Header/Navbar Container */
.site-navbar {
    padding: 26px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Force same padding for all navbar types */
.site-navbar.navbar-home,
.site-navbar.navbar-auth,
.site-navbar.navbar-dashboard {
    padding: 26px 0 !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

/* Logo */
.logo {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.logo-tiamo {
    color: #00d9ff;
}

.logo-play {
    color: #ffffff;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #8b9cb6;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
}

.nav-link:hover {
    color: #00d9ff;
}

/* Buttons */
.btn-stock {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    height: 38px;
}

.btn-order, .btn-register, .btn-login {
    background: #00d9ff;
    color: #0a1628;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    height: 38px;
}

.btn-order:hover, .btn-register:hover, .btn-login:hover {
    background: #00c4e6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* User Info (Dashboard) */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 38px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d9ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.user-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.btn-logout {
    padding: 8px 18px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    height: 38px;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .site-navbar {
        padding: 18px 0 !important;
    }
    
    .nav-link {
        display: none;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .navbar-content {
        min-height: 36px;
    }
}

@media (max-width: 480px) {
    .site-navbar {
        padding: 16px 0 !important;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .navbar-content {
        min-height: 32px;
    }
    
    .nav-link {
        display: none;
    }
    
    .btn-stock {
        display: none;
    }
    
    .btn-order, .btn-register, .btn-login {
        padding: 6px 14px;
        font-size: 12px;
        height: 32px;
    }
    
    .user-info {
        padding: 5px 10px;
        gap: 8px;
        height: 32px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .user-name {
        font-size: 12px;
        max-width: 70px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .btn-logout {
        padding: 5px 10px;
        font-size: 12px;
        height: 32px;
        gap: 6px;
    }
    
    .btn-logout span {
        display: none;
    }
}
