/* ========================================
   PREMIUM UI ENHANCEMENTS v2.0
   Professional Grade Interface Design
   ======================================== */

/* ========================================
   AURORA BACKGROUND EFFECT
   ======================================== */
/* AURORA BACKGROUND EFFECT - DISABLED FOR NEBULA THEME
.background::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 242, 254, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 40%);
    opacity: 0.6;
    pointer-events: none;
}
*/

@keyframes auroraShift {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: translateY(10px) scale(0.98);
        opacity: 0.5;
    }
}

/* ========================================
   ENHANCED NAVBAR - ULTRA PREMIUM
   ======================================== */
.glass-navbar {
    background: linear-gradient(180deg,
            rgba(15, 15, 25, 0.85) 0%,
            rgba(10, 10, 18, 0.75) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar Ambient Glow Line */
/* Navbar Ambient Glow Line */
.glass-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(102, 126, 234, 0.5) 20%,
            rgba(0, 242, 254, 0.8) 50%,
            rgba(102, 126, 234, 0.5) 80%,
            transparent 100%);
    animation: navGlow 3s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes navGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleX(1);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.15);
    }
}

/* Enhanced Logo */
.logo {
    font-size: 26px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

.logo ion-icon {
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6));
}

/* Premium Nav Links */
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 12px;
    transition: background-color 0.4s, color 0.4s, text-shadow 0.4s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-links li.active a {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 20px rgba(0, 242, 254, 0.2);
}

/* ========================================
   ULTRA GLASS CARDS
   ======================================== */
.glass-card {
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 50%,
            rgba(0, 0, 20, 0.1) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    box-shadow:
        0 15px 30px -10px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(100, 180, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.portfolio-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.portfolio-info {
    padding: 15px 20px;
}

.portfolio-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #fff;
}

.portfolio-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   PROFILE RESPONSIVE FIXES
   ======================================== */
@media (max-width: 768px) {

    /* Show Sidebar in Profile Panel only */
    #profile .sidebar-col {
        display: block !important;
        margin-bottom: 20px;
    }

    #profile .sidebar-col .glass-card {
        margin-bottom: 15px;
    }

    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-img {
        height: 160px;
    }

    /* Settings Form Mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .settings-form .form-group {
        margin-bottom: 15px;
    }
}

/* Glass Card Inner Light Texture */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 100%);
    pointer-events: none;
    border-radius: 28px 28px 0 0;
}

/* Premium Card Hover */
.glass-card:hover {
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(0, 0, 20, 0.1) 100%);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow:
        0 35px 80px -15px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 242, 254, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   PREMIUM HERO SEARCH
   ======================================== */
.hero-search {
    padding: 50px 45px;
    position: relative;
}

.hero-search h1 {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #a8e6ff 40%,
            var(--neon-cyan) 70%,
            var(--neon-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% auto;
    animation: textShine 4s ease-in-out infinite;
}

@keyframes textShine {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Enhanced Search Input */
.search-container input {
    padding: 18px 28px;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    box-shadow:
        inset 0 3px 6px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.search-container input:focus {
    background: linear-gradient(180deg,
            rgba(0, 242, 254, 0.08) 0%,
            rgba(0, 0, 0, 0.25) 100%);
    border-color: var(--accent-color);
    box-shadow:
        inset 0 3px 6px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 242, 254, 0.2),
        0 0 30px rgba(0, 242, 254, 0.1);
    transform: scale(1.01);
}

/* Premium Search Button */
.search-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(145deg,
            rgba(67, 233, 123, 0.5) 0%,
            rgba(56, 249, 215, 0.3) 50%,
            rgba(67, 233, 123, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(67, 233, 123, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-btn:hover {
    background: linear-gradient(145deg,
            rgba(67, 233, 123, 0.7) 0%,
            rgba(56, 249, 215, 0.5) 50%,
            rgba(67, 233, 123, 0.4) 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        0 15px 40px rgba(67, 233, 123, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px) scale(1.08);
}

/* ========================================
   PREMIUM JOB CARDS
   ======================================== */
.job-card {
    position: relative;
    padding: 28px 32px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Job Card Glow Border on Hover */
.job-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg,
            rgba(0, 242, 254, 0) 0%,
            rgba(0, 242, 254, 0.4) 50%,
            rgba(102, 126, 234, 0.3) 100%);
    border-radius: 29px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.job-card:hover::before {
    opacity: 1;
}

.job-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 242, 254, 0.15),
        inset 0 0 30px rgba(0, 242, 254, 0.05);
}

/* Enhanced Job Title */
.job-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg,
            var(--text-highlight) 0%,
            #ffffff 60%,
            var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   ENHANCED TAGS
   ======================================== */
.tag {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 100%);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.tag:hover {
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px) scale(1.08);
    box-shadow:
        0 8px 20px rgba(0, 242, 254, 0.35),
        0 0 20px rgba(0, 242, 254, 0.2);
}

/* ========================================
   PREMIUM BUTTONS
   ======================================== */
.submit-btn,
.btn-next {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(67, 233, 123, 0.9) 0%,
            rgba(56, 249, 215, 0.8) 100%);
    border: none;
    border-radius: 16px;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0a0a0f;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        0 8px 30px rgba(67, 233, 123, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.submit-btn::before,
.btn-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    transition: left 0.6s ease;
}

.submit-btn:hover::before,
.btn-next:hover::before {
    left: 100%;
}

.submit-btn:hover,
.btn-next:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        0 15px 45px rgba(67, 233, 123, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ENHANCED CATEGORY LIST
   ======================================== */
.category-list li {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-list li:hover {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.03) 100%);
    padding-left: 24px;
    border-left: 3px solid var(--accent-color);
}

.category-list li.active {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 14px 26px;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 242, 254, 0.1);
}

/* ========================================
   PREMIUM PROFILE CARD
   ======================================== */
.profile-card {
    text-align: center;
}

.big-avatar {
    width: 90px;
    height: 90px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 0 4px rgba(0, 242, 254, 0.2),
        0 15px 40px rgba(0, 0, 0, 0.4);
    animation: avatarFloat 4s ease-in-out infinite;
}

@keyframes avatarFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.online-status {
    width: 16px;
    height: 16px;
    border: 3px solid #0a0a0f;
    box-shadow: 0 0 15px rgba(67, 233, 123, 0.7);
    position: relative;
    /* animation: onlinePulse 2s ease-in-out infinite; REMOVED for perf */
}

/* Use pseudo-element for performance optimized pulse */
.online-status::after {
    content: '';
    position: absolute;
    inset: -3px;
    /* Match border/shadow size */
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.9);
    opacity: 0;
    animation: optimizedPulse 2s ease-in-out infinite;
}

@keyframes optimizedPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* ========================================
   ENHANCED SCROLLBAR
   ======================================== */
/* SCROLLBAR REFACTORED TO BODY ONLY FOR PERF
   Refer to styles.css or body specific selectors */

/* ========================================
   PREMIUM FORM INPUTS
   ======================================== */
.form-group input,
.form-group textarea {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px 22px;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    background: linear-gradient(180deg,
            rgba(0, 242, 254, 0.06) 0%,
            rgba(0, 0, 0, 0.25) 100%);
    border-color: var(--accent-color);
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(0, 242, 254, 0.2),
        0 0 50px rgba(0, 242, 254, 0.1);
    transform: translateY(-1px);
}

/* ========================================
   FLOATING ACTION ELEMENTS
   ======================================== */
.action-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.action-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* User Avatar Enhancement */
.user-avatar-mini {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 0 3px rgba(0, 242, 254, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.user-avatar-mini:hover {
    border-color: var(--accent-color);
    box-shadow:
        0 0 0 4px rgba(0, 242, 254, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.4);
    transform: scale(1.08);
}

/* ========================================
   QUICK TAGS ENHANCEMENT
   ======================================== */
.quick-tags {
    font-size: 14px;
    padding: 12px 0;
}

.quick-tags a {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--accent-color);
}

.quick-tags a:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

/* ========================================
   LANGUAGE TOGGLE ENHANCEMENT
   ======================================== */
#lang-toggle-btn {
    padding: 10px 20px;
    border-radius: 35px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

#lang-toggle-btn:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    border-color: var(--accent-color);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 242, 254, 0.15);
    transform: translateY(-2px);
}

/* ========================================
   SECTION TITLE ENHANCEMENT
   ======================================== */
.section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg,
            #ffffff 0%,
            var(--neon-cyan) 60%,
            var(--neon-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--accent-color) 50%,
            var(--neon-cyan) 100%);
    border-radius: 4px;
    box-shadow:
        0 0 15px var(--accent-color),
        0 0 30px rgba(0, 242, 254, 0.3);
}

/* ========================================
   SAVE BUTTON ENHANCEMENT
   ======================================== */
.save-btn {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.save-btn:hover {
    background: linear-gradient(135deg,
            rgba(255, 107, 107, 0.2) 0%,
            rgba(255, 107, 107, 0.08) 100%);
    border-color: #ff6b6b;
    transform: scale(1.15) rotate(10deg);
    box-shadow:
        0 8px 25px rgba(255, 107, 107, 0.3),
        0 0 20px rgba(255, 107, 107, 0.2);
}

.save-btn.saved {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-color: #ff6b6b;
    box-shadow:
        0 8px 25px rgba(255, 107, 107, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* ========================================
   MICRO INTERACTIONS
   ======================================== */
@keyframes subtlePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Add subtle breathing to important elements */
.notif .dot {
    animation: subtlePulse 1.5s ease-in-out infinite,
        dotPulse 1.5s ease-in-out infinite;
}

/* Smooth focus transitions globally */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 8px;
}

/* ========================================
   POST JOB CARD ENHANCEMENT
   ======================================== */
.post-job-card {
    background: linear-gradient(165deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 50%,
            rgba(0, 0, 20, 0.1) 100%);
    backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 45px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.post-job-card::before {
    height: 5px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--accent-color) 35%,
            var(--neon-cyan) 65%,
            var(--neon-purple) 100%);
    border-radius: 28px 28px 0 0;
}

/* ========================================
   RESPONSIVE PREMIUM ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {

    /* Hero Search Mobile */
    .hero-search {
        padding: 25px 15px;
    }

    .hero-search h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    /* Search Container Mobile - Stack Vertically */
    .search-container {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .search-container input {
        width: 100%;
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 16px;
    }

    /* Search Button - Full Width on Mobile */
    .search-btn {
        width: 100% !important;
        height: 52px !important;
        border-radius: 16px !important;
        font-size: 20px;
    }

    /* Quick Tags Mobile */
    .quick-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 8px 0;
    }

    .quick-tags span {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .quick-tags a {
        padding: 6px 12px;
        font-size: 12px;
        margin: 0;
    }

    /* Glass Cards Mobile */
    .glass-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    /* Job Cards Mobile */
    .job-card {
        padding: 18px 16px;
    }

    .job-title {
        font-size: 16px;
    }

    /* Navigation Mobile Improvements */
    .nav-links {
        justify-content: space-around !important;
        padding: 8px 5px;
    }

    .nav-links a {
        font-size: 11px !important;
        padding: 8px 10px !important;
    }

    .nav-links li.active a {
        padding: 8px 12px !important;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 18px;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
    }

    /* Tags Mobile */
    .tag {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Post Job Card Mobile */
    .post-job-card {
        padding: 20px 15px;
        border-radius: 18px;
    }

    /* Language Button Mobile */
    #lang-toggle-btn {
        padding: 6px 12px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .hero-search {
        padding: 20px 12px;
    }

    .hero-search h1 {
        font-size: 18px;
    }

    .search-container input {
        padding: 12px 14px;
        font-size: 13px;
    }

    .search-btn {
        height: 48px !important;
    }

    .nav-links a {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }

    .glass-card {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .job-card {
        padding: 14px 12px;
    }

    .job-title {
        font-size: 14px;
    }

    .section-title {
        font-size: 16px;
    }

    .quick-tags a {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* ========================================
   DASHBOARD SUB-TABS (NEW)
   ======================================== */
.sub-tabs-container {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 18px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.sub-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.sub-tab-btn.active {
    color: var(--accent-color);
    background: rgba(0, 242, 254, 0.05);
    font-weight: 600;
}

.sub-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    box-shadow: 0 0 10px var(--accent-color);
}

.sub-tab-btn ion-icon {
    font-size: 18px;
}

.sub-tab-btn .badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

.sub-tab-btn.active .badge {
    background: var(--accent-color);
    color: #000;
}

/* ========================================
   JOB LIST CARDS (DASHBOARD)
   ======================================== */
.sub-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-list-card {
    padding: 20px 25px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Lighter border than default glass */
}

.job-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.job-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1.4;
}

.job-list-title:hover {
    color: var(--accent-color);
}

.job-list-price {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--success-color);
    font-weight: 700;
    white-space: nowrap;
    margin-left: 15px;
}

.job-list-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.job-list-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-list-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-action ion-icon {
    font-size: 16px;
}

.btn-action.primary {
    background: var(--accent-color);
    color: #000;
}

.btn-action.primary:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--accent-color);
}

.btn-action.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-action.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-action.danger {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.btn-action.danger:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* Status Indicators */
.job-list-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-list-status.active {
    background: rgba(67, 233, 123, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(67, 233, 123, 0.2);
}

.job-list-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.job-list-status.viewed {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .sub-tabs-container {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .sub-tab-btn {
        flex-shrink: 0;
        padding: 15px;
        font-size: 13px;
    }

    .job-list-card {
        padding: 15px;
    }

    .job-list-header {
        flex-direction: column;
        gap: 8px;
    }

    .job-list-price {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* ========================================
   DASHBOARD STATS (NEW)
   ======================================== */
.dashboard-header {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.dashboard-title {
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-title ion-icon {
    color: var(--accent-color);
    font-size: 32px;
    -webkit-text-fill-color: initial;
}

.dashboard-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

/* Stats Grid - Auto-fit for flexibility */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    min-width: 0;
    /* Prevent overflow */
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.stat-info {
    min-width: 0;
    /* Prevent text overflow */
    flex: 1;
}

.stat-info h4 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-info .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

/* Sub-Tabs Container - Responsive and scrollable */
.sub-tabs-container {
    background: rgba(0, 0, 0, 0.25);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
    display: flex;
    width: 100%;
    max-width: 100%;
    /* Allow full width */
    overflow-x: auto;
    /* Always allow scroll if needed */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar on Firefox */
}

.sub-tabs-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar on Chrome/Safari */
}

.sub-tab-btn {
    border-radius: 10px;
    padding: 10px 16px;
    flex: 1 0 auto;
    /* Grow but don't shrink below content */
    min-width: fit-content;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
}

.sub-tab-btn ion-icon {
    font-size: 16px;
}

.sub-tab-btn .badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.sub-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sub-tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sub-tab-btn.active .badge {
    background: var(--accent-color);
    color: #000;
}

/* Tab Content Wrapper */
.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
}

/* Job List Card Improvements */
.job-list-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.job-list-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Tablets and Small Desktops (768px - 1024px) */
@media (max-width: 1024px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 14px 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .stat-info h4 {
        font-size: 11px;
    }

    .stat-info .stat-value {
        font-size: 16px;
    }
}

/* Tablets (600px - 768px) */
@media (max-width: 768px) {
    .dashboard-header {
        margin-bottom: 20px;
    }

    .dashboard-title {
        font-size: 24px;
    }

    .dashboard-title ion-icon {
        font-size: 28px;
    }

    .dashboard-subtitle {
        font-size: 13px;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
        gap: 10px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .stat-info h4 {
        font-size: 11px;
    }

    .stat-info .stat-value {
        font-size: 16px;
    }

    .sub-tab-btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .sub-tab-btn .badge {
        padding: 2px 6px;
        font-size: 10px;
    }
}

/* Mobile Phones (<600px) */
@media (max-width: 600px) {
    .dashboard-header {
        margin-bottom: 15px;
    }

    .dashboard-title {
        font-size: 22px;
        gap: 8px;
    }

    .dashboard-title ion-icon {
        font-size: 26px;
    }

    .dashboard-subtitle {
        font-size: 12px;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 12px 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .stat-info h4 {
        font-size: 10px;
    }

    .stat-info .stat-value {
        font-size: 15px;
    }

    .sub-tabs-container {
        padding: 4px;
        gap: 3px;
    }

    .sub-tab-btn {
        padding: 8px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .sub-tab-btn ion-icon {
        font-size: 14px;
    }

    .sub-tab-btn .badge {
        padding: 1px 5px;
        font-size: 9px;
    }

    .job-list-card {
        padding: 15px;
    }
}

/* ========================================
   MY JOBS PANEL SPECIFIC STYLES
   ======================================== */
#my-jobs {
    min-height: calc(100vh - 150px);
    /* Ensure panel fills viewport */
    padding-bottom: 50px;
}

#my-jobs .main-container {
    display: block;
    /* Override grid for single column layout */
}

#my-jobs .feed-col {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure stat cards are visible with proper styling */
#my-jobs .stat-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
}

/* Ensure tabs container doesn't overflow */
#my-jobs .sub-tabs-container {
    margin-bottom: 25px;
}

/* Job cards in list */
#my-jobs .job-list-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}