/* ============================================
   MODERN SKILLCHAIN UI - ENHANCED
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563EB;
    --light-blue: #3B82F6;
    --accent-blue: #60A5FA;
    --dark-blue: #1E40AF;
    --purple: #8B5CF6;
    --cyan: #06B6D4;
    
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --surface: #1E293B;
    --surface-light: #334155;
    
    --white: #FFFFFF;
    --gray: #94A3B8;
    --gray-light: #CBD5E1;
    
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    --glow-blue: rgba(37, 99, 235, 0.5);
    --glow-purple: rgba(139, 92, 246, 0.5);
}

/* Light mode overrides: toggled by adding `light-mode` on the body */
body.light-mode {
    --primary-blue: #2563EB;
    --light-blue: #3B82F6;
    --accent-blue: #60A5FA;
    --dark-blue: #1E40AF;
    --purple: #8B5CF6;
    --cyan: #06B6D4;

    --bg-dark: #f5f7fb;
    --bg-darker: #ffffff;
    --surface: #ffffff;
    --surface-light: #f1f5f9;

    --white: #0B1220; /* primary text color in light mode */
    --gray: #475569;
    --gray-light: #64748b;

    --glow-blue: rgba(59,130,246,0.12);
    --glow-purple: rgba(139,92,246,0.08);

    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #f0f4ff 100%);
    color: var(--white);
}

body {
    font-family: 'Poppins', 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a1f3a 100%);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--glow-blue); }
    50% { box-shadow: 0 0 40px var(--glow-purple), 0 0 60px var(--glow-blue); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary-blue); }
    50% { border-color: var(--purple); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   GLASSMORPHISM & EFFECTS
============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}

.glass-effect {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 20px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.glass-input::placeholder {
    color: var(--gray);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--purple), var(--cyan));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6),
                0 0 60px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    padding: 14px 32px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.back-arrow {
    transition: transform 0.3s ease;
}

.modern-back:hover .back-arrow {
    transform: translateX(-5px);
}

.modern-back {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.modern-back:hover {
    background: rgba(96, 165, 250, 0.1);
}

/* Small buttons for actions */
.btn-small {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-accept {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.btn-negotiate {
    background: linear-gradient(135deg, var(--warning), #D97706);
    color: white;
}

.btn-decline {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   UTILITY
============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.subtitle {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

/* ============================================
   LANDING PAGE
============================================ */
#landingPage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape1 {
    width: 500px;
    height: 500px;
    background: var(--primary-blue);
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    bottom: 10%;
    right: 10%;
    animation: float 10s ease-in-out infinite 2s;
}

.shape3 {
    width: 350px;
    height: 350px;
    background: var(--cyan);
    top: 50%;
    right: 20%;
    animation: float 12s ease-in-out infinite 4s;
}

.shape4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    bottom: 30%;
    left: 25%;
    animation: float 9s ease-in-out infinite 1s;
}

.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.logo-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-large {
    font-size: 1.4rem !important;
    padding: 12px 32px !important;
    letter-spacing: 3px !important;
    font-weight: 800 !important;
}

.landing-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.typing-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-blue);
    min-height: 40px;
    margin-bottom: 20px;
}

.landing-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.landing-subtitle-small {
    font-size: 1.05rem !important;
    opacity: 0.9;
}

.landing-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-text {
    font-weight: 600;
    color: var(--white);
}

/* ============================================
   SIGNUP PAGE
============================================ */
#signupPage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.signup-card {
    max-width: 500px;
    width: 100%;
    padding: 50px 40px;
    margin: 0 auto;
}

.signup-card h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.social-login {
    margin: 30px 0;
}

.social-btn {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon {
    font-size: 1.5rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--gray);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 15px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.modern-input .form-input {
    transition: all 0.3s ease;
}

.modern-input .form-input:focus {
    transform: translateY(-2px);
}

/* ============================================
   SKILL SETUP
============================================ */
.skill-setup-container {
    min-height: 100vh;
    padding: 40px 20px;
}

.skill-setup-header {
    text-align: center;
    margin-bottom: 50px;
}

.skill-setup-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.location-section,
.skills-section {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-section h3,
.skills-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.added-skills-list {
    margin-bottom: 30px;
    display: grid;
    gap: 15px;
}

.added-skill-card {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-info {
    flex: 1;
}

.skill-name-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.skill-category-icon {
    font-size: 1.8rem;
}

.proficiency-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
}

.skill-specialization {
    color: var(--gray);
    font-size: 0.9rem;
}

.remove-skill-btn {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-skill-btn:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.add-skill-form {
    padding: 30px;
}

.finish-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   DASHBOARD HEADER
============================================ */
.modern-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.modern-menu-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.modern-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.modern-search {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.modern-search .search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-search .search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.modern-search .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modern-coin {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 700;
    color: #FBBF24;
    animation: pulse 2s ease-in-out infinite;
}

.coin-icon {
    font-size: 1.3rem;
}

.modern-icon-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.icon-emoji {
    font-size: 1.3rem;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--danger), #DC2626);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

.modern-profile {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-profile:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ============================================
   DROPDOWN PANELS
============================================ */
.modern-dropdown {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 450px;
    max-height: 600px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.modern-dropdown.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.modern-dropdown h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.modern-dropdown::-webkit-scrollbar {
    width: 6px;
}

.modern-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modern-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* ============================================
   MATCH ITEMS
============================================ */
.match-item {
    padding: 20px;
    margin-bottom: 15px;
}

.match-header {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.match-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.match-info {
    flex: 1;
}

.match-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.match-skill {
    display: block;
    color: var(--accent-blue);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.match-time {
    color: var(--gray);
    font-size: 0.85rem;
}

.match-description {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.match-coins {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 6px 14px;
    border-radius: 12px;
    color: #FBBF24;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.match-actions {
    display: flex;
    gap: 10px;
}

/* ============================================
   NOTIFICATION ITEMS
============================================ */
.notification-item {
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.notification-item.unread {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.notification-item p {
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.notif-time {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ============================================
   SIDEBAR
============================================ */
.modern-sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    z-index: 1001;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.modern-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.sidebar-header {
    padding: 0 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

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

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 25px;
    color: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.sidebar-item:hover::before,
.sidebar-item.active::before {
    transform: scaleY(1);
}

.sidebar-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.sidebar-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 25px;
}

.sidebar-item.logout {
    color: var(--danger);
}

/* ============================================
   MAIN CONTENT
============================================ */
.modern-content {
    padding-top: 100px;
    padding-bottom: 50px;
}

.welcome-section {
    margin-bottom: 40px;
}

.welcome-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.modern-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
}

.filter-icon {
    font-size: 1.2rem;
}

.filter-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.modern-action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.action-card {
    padding: 35px 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.action-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover::after {
    opacity: 1;
}

.action-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.action-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.action-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.action-card:hover .card-glow {
    opacity: 0.3;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.user-card {
    padding: 25px;
}

.user-header {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.user-info h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.user-skill {
    color: var(--accent-blue);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.user-location {
    color: var(--gray);
    font-size: 0.85rem;
}

.user-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.stat .icon {
    font-size: 1.2rem;
}

.request-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-btn:hover {
    transform: translateY(-2px);
}

/* ============================================
   CHAT INTERFACE
============================================ */
.chat-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.chat-item {
    padding: 20px 25px;
    display: flex;
    gap: 18px;
    cursor: pointer;
    position: relative;
}

.chat-avatar {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.chat-info {
    flex: 1;
}

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

.chat-header-row strong {
    font-size: 1.1rem;
}

.chat-time {
    color: var(--gray);
    font-size: 0.85rem;
}

.chat-preview {
    color: var(--gray-light);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unread-badge {
    background: var(--danger);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.online-dot {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.online-status {
    color: var(--success);
    font-size: 0.9rem;
}

.chat-room-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px 0;
}

.message {
    margin-bottom: 20px;
    display: flex;
}

.message-sent {
    justify-content: flex-end;
}

.message-received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 60%;
    padding: 15px 20px;
}

.message-sent .message-bubble {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    border-bottom-right-radius: 6px;
}

.message-received .message-bubble {
    background: rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 6px;
}

.message-bubble p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.message-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.message-input-container {
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.message-input {
    flex: 1;
}

.send-btn {
    padding: 14px 32px;
    white-space: nowrap;
}

/* ============================================
   MATCHES PAGE
============================================ */
.matches-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.match-card {
    padding: 30px;
}

.match-card .match-header {
    margin-bottom: 15px;
}

.match-card .match-info h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.coins-offered {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FBBF24;
    font-weight: 700;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.status-badge.accepted {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

/* ============================================
   PROFILE PAGE
============================================ */
.modern-profile-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 40px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.modern-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-label {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.profile-section {
    margin-bottom: 40px;
}

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

.profile-skill-item {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.skill-level {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: var(--accent-blue);
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 12px;
    text-transform: uppercase;
}

/* ============================================
   MODALS
============================================ */
.modern-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modern-modal .modal {
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.modal-header {
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.modern-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.coins-animation {
    font-size: 5rem;
    text-align: center;
    margin: 30px 0;
}

.coin-count {
    font-size: 4rem;
    text-align: center;
    font-weight: 900;
    margin-bottom: 20px;
}

.negotiate-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 25px;
}

.negotiate-info p {
    margin-bottom: 10px;
}

/* ============================================
   WAITING REQUESTS
============================================ */
.waiting-requests-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.request-card {
    padding: 30px;
}

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

.request-description {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ============================================
   NOTIFICATIONS PAGE
============================================ */
.notifications-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.notification-card {
    padding: 20px;
    display: flex;
    gap: 18px;
}

.notif-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-content p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.notif-timestamp {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ============================================
   DISCUSSION PAGE
============================================ */
.discussion-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-form {
    padding: 30px;
    margin-bottom: 30px;
}

.post-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    margin-bottom: 20px;
    resize: vertical;
}

.post-card {
    padding: 25px;
    margin-bottom: 20px;
}

.post-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.post-author strong {
    display: block;
    margin-bottom: 5px;
}

.post-time {
    color: var(--gray);
    font-size: 0.85rem;
}

.post-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    gap: 20px;
}

.post-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-action:hover {
    background: rgba(255, 255, 255, 0.1);
}

.post-action.liked {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary-blue);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .landing-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .modern-search {
        display: none;
    }
    
    .modern-action-cards {
        grid-template-columns: 1fr;
    }
    
    .modern-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-dropdown {
        width: calc(100% - 40px);
        right: 20px;
    }
    
    .modern-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .message-bubble {
        max-width: 85%;
    }
}

/* ============================================
   PAGE WITH HEADER LAYOUT
============================================ */
.page-with-header {
    min-height: 100vh;
    padding-top: 80px;
}

/* ============================================
   CONTACT PAGE
============================================ */
.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 40px;
}

.contact-card h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card form {
    margin-top: 30px;
}

.contact-card textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   PAGE TITLE
============================================ */
.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
}

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--purple));
}

/* ============================================
   SIGN IN PAGE & FORGOT PASSWORD
============================================ */
.forgot-password-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* ============================================
   DISCUSSION/COMMUNITY - MEDIA ATTACHMENT
============================================ */
.post-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.post-media-preview {
    position: relative;
    margin-top: 15px;
}

.remove-media-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-media-btn:hover {
    background: rgba(239, 68, 68, 1);
    transform: rotate(90deg);
}

.post-media {
    max-width: 100%;
    border-radius: 12px;
    margin-top: 15px;
}

.post-media img, .post-media video {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
}

/* ============================================
   FILTER IMPROVEMENTS
============================================ */
.filter-options {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.12);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* ============================================
   SKILL SETUP - IMPROVED BLUE GRADIENT CARDS
============================================ */
.location-section .glass-input,
.skills-section .glass-input,
.add-skill-form {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(139, 92, 246, 0.08)) !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

.location-section .glass-input:focus,
.skills-section .glass-input:focus {
    border-color: rgba(96, 165, 250, 0.6) !important;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2) !important;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.add-skill-form {
    padding: 25px;
    margin-top: 20px;
}

.added-skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.skill-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

/* ============================================
   DROPDOWN Z-INDEX FIX
============================================ */
select.glass-input {
    position: relative;
    z-index: 10;
}

.modal {
    z-index: 10000;
}

.modal-overlay {
    z-index: 9999;
}

/* Language custom input */
/* language-section styles removed (feature reverted) */

.skill-setup-header {
    position: relative;
    z-index: 1;
}

.location-section,
.skills-section,
.language-section {
    position: relative;
    z-index: 10;
}


/* ============================================
   SETTINGS PAGE - COMPREHENSIVE STYLING
============================================ */
.settings-container {
    max-width: 900px;
    margin: 0 auto;
}

.settings-card {
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.settings-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-header h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.setting-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.setting-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.setting-description {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    transition: all 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-slider:hover {
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* Settings Select */
.settings-select {
    min-width: 180px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(139, 92, 246, 0.08)) !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
    cursor: pointer;
}

.settings-select:focus {
    border-color: rgba(96, 165, 250, 0.6) !important;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2) !important;
}

/* Settings Actions */
.settings-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.settings-save {
    margin-top: 20px;
}

/* Responsive Settings */
@media (max-width: 768px) {
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-switch {
        align-self: flex-end;
    }
    
    .settings-select {
        width: 100%;
    }
}

/* ============================================
   ENHANCED BLUE GRADIENT FOR COLLEGE/UNIVERSITY BOXES
============================================ */
.location-section .glass-input,
.skills-section .glass-input {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.12), 
        rgba(139, 92, 246, 0.12), 
        rgba(6, 182, 212, 0.08)
    ) !important;
    border: 2px solid rgba(96, 165, 250, 0.4) !important;
    color: var(--white) !important;
    font-weight: 500;
}

.location-section .glass-input:hover,
.skills-section .glass-input:hover {
    border-color: rgba(96, 165, 250, 0.6) !important;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.18), 
        rgba(139, 92, 246, 0.18), 
        rgba(6, 182, 212, 0.12)
    ) !important;
}

.location-section .glass-input:focus,
.skills-section .glass-input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3) !important;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2), 
        rgba(139, 92, 246, 0.2), 
        rgba(6, 182, 212, 0.15)
    ) !important;
}

/* Enhanced Location Grid Cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.location-section,
.skills-section {
    position: relative;
    z-index: 10;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.location-section h3,
.skills-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-blue);
}

/* Form labels in location section */
.location-section label,
.skills-section label {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
}

/* Select option styling */
.location-section select option,
.skills-section select option,
select option {
    background: var(--bg-dark);
    color: var(--white);
    padding: 10px;
}

/* Add visual indicator for custom options */
.location-section select option[value="custom"],
.skills-section select option[value="custom"] {
    color: var(--cyan);
    font-weight: 600;
}


/* ============================================
   CALENDAR PAGE STYLES
============================================ */
.calendar-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.calendar-filters .filter-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.calendar-filters .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.calendar-sessions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calendar-session {
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.calendar-session:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.calendar-session.scheduled {
    border-left: 4px solid var(--primary-blue);
}

.calendar-session.completed {
    border-left: 4px solid #10B981;
    opacity: 0.8;
}

.session-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.session-info {
    flex: 1;
}

.session-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: var(--white);
}

.session-partner {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.session-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.session-status.scheduled {
    background: rgba(37, 99, 235, 0.2);
    color: var(--cyan);
    border: 1px solid rgba(37, 99, 235, 0.4);
}

.session-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.session-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.session-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.detail-icon {
    font-size: 1.2rem;
}

.session-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.session-actions .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    opacity: 0.6;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.empty-state p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Responsive calendar */
@media (max-width: 768px) {
    .session-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .session-status {
        align-self: flex-start;
    }
    
    .session-details {
        grid-template-columns: 1fr;
    }
    
    .session-actions {
        flex-direction: column;
    }
    
    .session-actions .btn {
        width: 100%;
    }
}
