﻿/* Instagram-Style Entertainment Industry Color Palette */
:root {
    /* Instagram Gradient Colors */
    --instagram-primary: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    --instagram-purple: linear-gradient(135deg, #8a3ab9 0%, #e95950 50%, #fccc63 100%);
    --instagram-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --instagram-orange: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
    --instagram-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Entertainment Industry Colors */
    --entertainment-gold: #ffd700;
    --entertainment-rose-gold: #e8b4b8;
    --entertainment-deep-purple: #6a1b9a;
    --entertainment-coral: #ff6b6b;
    --entertainment-teal: #26d0ce;
    
    /* Primary Brand Colors */
    --primary-color: #8a3ab9;
    --primary-light: #c13584;
    --primary-dark: #6a1b9a;
    --secondary-color: #fd1d1d;
    --secondary-light: #ff6b6b;
    --secondary-dark: #d32f2f;
    --accent-color: #fcb045;
    --accent-light: #ffd700;
    --accent-dark: #ff8a00;
    
    /* Success, Warning, Error Colors */
    --success-color: #26d0ce;
    --success-gradient: linear-gradient(135deg, #26d0ce 0%, #1de9b6 100%);
    --warning-color: #ff8a00;
    --warning-gradient: linear-gradient(135deg, #ff8a00 0%, #fcb045 100%);
    --error-color: #fd1d1d;
    --error-gradient: linear-gradient(135deg, #fd1d1d 0%, #f5576c 100%);
    
    /* Neutral Colors with Instagram Touch */
    --text-primary: #262626;
    --text-secondary: #737373;
    --text-tertiary: #8e8e8e;
    --text-muted: #b2b2b2;
    --text-white: #ffffff;
    --text-light: #fafafa;
    
    /* Background Colors */
    --bg-primary: linear-gradient(135deg, #fafafa 0%, #f8f9fa 100%);
    --bg-secondary: #ffffff;
    --bg-tertiary: #fafafa;
    --bg-accent: linear-gradient(135deg, #fff1f5 0%, #f3e5f5 100%);
    --bg-gradient: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    
    /* Border Colors */
    --border-primary: #dbdbdb;
    --border-secondary: #efefef;
    --border-tertiary: #f5f5f5;
    --border-gradient: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    
    /* Shadow Styles with Instagram Vibes */
    --shadow-light: 0 2px 10px rgba(131, 58, 180, 0.1);
    --shadow-medium: 0 4px 20px rgba(131, 58, 180, 0.15);
    --shadow-strong: 0 8px 30px rgba(131, 58, 180, 0.25);
    --shadow-colored: 0 4px 15px rgba(253, 29, 29, 0.3);

    /* Legacy aliases mapped to current theme */
    --linkedin-blue: var(--primary-color);
    --linkedin-blue-dark: var(--primary-dark);
    --linkedin-green: var(--success-color);
    --linkedin-purple: var(--accent-dark);
    --ring-success: #2eaf57;
    --ring-progress: var(--accent-color);
    --ring-pending: var(--primary-light);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    
    /* Spacing - Using rem for scalability */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.25rem;
    --space-2xl: 1.5rem;
    --space-3xl: 2rem;
    --space-4xl: 2.5rem;
    --space-5xl: 3rem;
    
    /* Typography scale using rem */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Fluid spacing for different screen sizes */
    --fluid-space: clamp(1rem, 4vw, 2rem);
    --fluid-text: clamp(0.875rem, 2.5vw, 1.125rem);
    --fluid-title: clamp(2rem, 8vw, 4rem);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
    overflow-x: hidden;
    font-size: var(--text-base);
}

.container {
    max-width: min(90%, 1200px);
    margin: 0 auto;
    padding: 0 var(--fluid-space);
    width: 100%;
}

/* Typography - Using rem for scalability */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    font-size: var(--fluid-text);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* Flexible Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

.responsive-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Fluid Grid System */
.grid {
    display: grid;
    gap: var(--fluid-space);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 45%), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 30%), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22%), 1fr));
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.flex-gap {
    gap: var(--space-md);
}

.hero-title {
    font-size: var(--fluid-title);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
}

/* Instagram-Style Navigation */
.navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.62));
    border-bottom: 1px solid var(--surface-border);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 68px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--surface-shadow);
}

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 68px;
    gap: var(--space-xl);
}

.navbar .nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.navbar .logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
    margin-bottom: -2px;
}

.navbar .logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 42%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
}

.navbar .logo-main::after {
    content: '✦';
    position: absolute;
    top: -2px;
    right: -18px;
    font-size: 0.9rem;
    animation: sparkle 2s ease-in-out infinite;
    color: var(--secondary-light);
    -webkit-text-fill-color: initial;
}

.navbar .logo-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-top: -2px;
    opacity: 0.92;
    font-style: italic;
    text-align: left;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1) rotate(180deg);
    }
}

.navbar .nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
}

/* Header Auth Buttons */
.navbar .header-auth-buttons {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.navbar .main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.navbar .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 10px 24px rgba(79, 36, 108, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-right: 0;
}

.navbar .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    box-shadow: none;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 12px 24px rgba(79, 36, 108, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.navbar .btn-header {
    min-height: 44px;
    padding: 0.72rem 1.15rem;
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    border: 1px solid transparent;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(79, 36, 108, 0.08);
}

.navbar .btn-login {
    background: var(--surface-glass);
    color: var(--text-primary);
    border-color: rgba(131, 58, 180, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar .btn-login:hover,
.navbar .btn-login:focus-visible {
    background: var(--surface-glass-strong);
    color: var(--primary-dark);
    border-color: rgba(131, 58, 180, 0.32);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 16px 28px rgba(79, 36, 108, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.navbar .btn-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-light));
    color: white;
}

.navbar .btn-signup:hover,
.navbar .btn-signup:focus-visible {
    opacity: 0.98;
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 16px 32px rgba(79, 36, 108, 0.2);
    outline: none;
}

/* LinkedIn-Style Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    max-width: 600px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: white;
    padding: 0 var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none;
    color: #666;
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 55px;
}

.nav-item:hover {
    color: #000;
    background-color: rgba(0, 0, 0, 0.08);
}

.nav-item.active {
    color: #000;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: #000;
    border-radius: 1px;
}

.nav-dot {
    position: absolute;
    top: 6px;
    right: 16px;
    width: 5px;
    height: 5px;
    background: #cc1016;
    border-radius: 50%;
    border: 1px solid white;
    display: block;
}

.nav-item i {
    font-size: var(--text-base);
    margin-bottom: 0.125rem;
}

.nav-item span {
    line-height: 1.1;
    white-space: nowrap;
}

.notification-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.875rem;
    background: #cc1016;
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.0625rem 0.25rem;
    border-radius: 3.125rem;
    min-width: 0.875rem;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2);
}

.profile-btn,
.business-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    min-width: 55px;
}

.profile-btn:hover,
.business-btn:hover {
    color: #000;
    background-color: rgba(0, 0, 0, 0.08);
}

.profile-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--instagram-purple), var(--instagram-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.profile-avatar i {
    color: white;
    font-size: var(--text-xs);
    margin-bottom: 0;
}

.business-btn i:first-child {
    font-size: var(--text-base);
    margin-bottom: 0.125rem;
}

.profile-btn .fa-chevron-down,
.business-btn .fa-chevron-down {
    font-size: 7px;
    margin-top: 1px;
    margin-bottom: 0;
    margin-left: 3px;
    align-self: flex-end;
    position: absolute;
    right: 6px;
    top: 45%;
    transform: translateY(-50%);
}

.dropdown {
    position: relative;
}

.dropdown:hover .fa-chevron-down {
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.3s ease;
}

/* Original Simple Navigation (Hidden by Default) */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-right: var(--space-lg);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nav-link:hover {
    color: var(--instagram-purple);
}

.sign-in-dropdown {
    position: relative;
}

.sign-in-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-primary);
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sign-in-btn:hover {
    color: var(--instagram-purple);
}

.sign-in-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.sign-in-btn:hover i {
    transform: rotate(180deg);
}

.cart-container {
    position: relative;
}

.cart-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.cart-btn:hover {
    background-color: var(--bg-hover);
    color: var(--instagram-purple);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--instagram-orange);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
    transform: translate(30%, -30%);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

#logout-btn {
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--border-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--instagram-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

#logout-btn:hover {
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

#logout-btn:hover::before {
    left: 0;
}

/* Landing Page Design */
.landing-hero {
    min-height: 100vh;
    padding-top: 52px;
    padding-bottom: 0;
    background: var(--bg-primary);
}

.hero-title-section {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg) 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: var(--space-xs) var(--space-lg);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    animation: bounce 2s infinite;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.badge-icon {
    animation: pulse 1.5s infinite;
}

.hero-main-title {
    font-size: var(--fluid-title);
    font-weight: 900;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.title-line-1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    color: var(--text-primary);
    font-weight: 600;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.title-line-2 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.title-highlight {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08em;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    letter-spacing: -0.015em;
    text-shadow: 0 12px 28px rgba(18, 10, 30, 0.32);
    opacity: 0;
    animation: zoomIn 0.8s ease-out 0.6s forwards;
}

.title-highlight span {
    display: block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -0.18em;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(252, 176, 69, 0.9) 50%, transparent 100%);
    filter: blur(0.2px);
}

.title-platform {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.8em;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 1s forwards;
}

.hero-main-subtitle {
    font-size: 1.17rem;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
    text-align: center;
}

.subtitle-main {
    color: var(--text-primary);
    font-weight: 600;
}

.subtitle-cta {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.99rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.8s forwards;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-medium);
}

.pill-emoji {
    font-size: 1.1rem;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2.2s forwards;
}

.cta-text {
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--instagram-purple), var(--instagram-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-3xl);
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--instagram-primary);
    border-radius: 2px;
}

/* Model Carousel Section */
.model-carousel-section {
    padding: var(--space-lg) 0 var(--space-2xl);
    background: var(--bg-secondary);
    text-align: center;
    margin-top: var(--space-2xl);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: transparent;
}

.carousel-slide-group {
    display: none !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide-group.active {
    display: grid !important;
}

.model-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-strong);
}

.model-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

.model-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    text-align: center;
}

.model-info h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: white;
}

.model-info p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.success-badge {
    background: var(--instagram-primary);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    display: inline-block;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    box-shadow: var(--shadow-light);
    z-index: 1000;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(138, 58, 185, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* User Type Selection */
.user-type-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--bg-secondary);
    margin: 0 0 var(--space-2xl);
}

.user-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--fluid-space);
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: center;
}

.user-type-card {
    background: var(--bg-white);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--border-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.user-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--instagram-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.user-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.user-type-card:hover::before {
    opacity: 0.05;
}

.user-type-card > * {
    position: relative;
    z-index: 2;
}

.user-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: var(--instagram-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.user-type-card:hover .user-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-colored);
}

.user-type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.user-type-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.user-type-card .btn {
    margin-top: auto;
    width: 100%;
    align-self: flex-end;
}

/* Benefits Section */
.benefits-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--fluid-space);
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    display: block;
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Opportunities Section */
.opportunities-section {
    padding: var(--space-3xl) 0 var(--space-5xl);
    background: var(--bg-secondary);
}

.opportunities-title-link {
    cursor: pointer;
}

.opportunities-title-link:hover {
    opacity: 0.88;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.opportunity-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--instagram-primary) 0%, var(--entertainment-gold) 100%);
    opacity: 0.1;
    transition: left 0.3s ease;
    z-index: 1;
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.opportunity-card:hover::before {
    left: 0;
}

.opportunity-card > * {
    position: relative;
    z-index: 2;
}

.opportunity-image {
    width: 100%;
    height: 120px;
    margin-bottom: var(--space-lg);
    background: var(--instagram-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.opportunity-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.opportunity-card:hover .opportunity-image::after {
    opacity: 1;
}

.opportunity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.opportunity-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--text-white);
    z-index: 2;
}

.opportunity-card:hover .opportunity-image {
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
}

.opportunity-card:hover .opportunity-image img {
    transform: scale(1.1);
}

.opportunity-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.opportunity-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.opportunities-page {
    min-height: 100vh;
    padding: calc(52px + var(--space-3xl)) 0 var(--space-5xl);
    background: linear-gradient(180deg, #f8f4ff 0%, #f7f9fc 28%, #ffffff 100%);
}

.recruiter-applications-page {
    min-height: 100vh;
    padding: calc(52px + var(--space-3xl)) 0 var(--space-5xl);
    background:
        radial-gradient(circle at top right, rgba(252, 176, 69, 0.12), transparent 28%),
        radial-gradient(circle at top left, rgba(131, 58, 180, 0.12), transparent 26%),
        linear-gradient(180deg, #fbf7ff 0%, #f6f8fc 30%, #ffffff 100%);
}

.opportunities-page-shell {
    max-width: 1140px;
    margin: 0 auto;
}

.recruiter-applications-page-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.opportunities-page-layout {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: var(--space-2xl);
    align-items: start;
}

.opportunities-filter-pane {
    position: sticky;
    top: calc(52px + var(--space-xl));
}

.recruiter-applications-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: var(--space-2xl);
    align-items: start;
}

.recruiter-applications-filter-pane {
    position: sticky;
    top: calc(52px + var(--space-xl));
}

.opportunities-filter-card {
    padding: var(--space-xl);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(233, 89, 80, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 255, 0.94));
    border: 1px solid rgba(131, 58, 180, 0.12);
    box-shadow: 0 22px 48px rgba(32, 18, 62, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.recruiter-applications-filter-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 253, 0.96) 100%);
    border-color: rgba(131, 58, 180, 0.1);
    box-shadow: 0 24px 54px rgba(32, 18, 62, 0.1);
}

.recruiter-applications-filter-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: var(--space-xl);
}

.recruiter-applications-filter-intro span {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(131, 58, 180, 0.08);
    color: #5b4b8a;
    font-size: 0.78rem;
    font-weight: 700;
}

.opportunities-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.opportunities-filter-head h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1f2a44;
}

.opportunities-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(131, 58, 180, 0.14);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 242, 255, 0.84));
    color: #513d79;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(32, 18, 62, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.opportunities-filter-reset:hover {
    transform: translateY(-1px);
    border-color: rgba(131, 58, 180, 0.22);
    color: #33264f;
    box-shadow: 0 14px 28px rgba(32, 18, 62, 0.11);
}

.opportunities-filter-group {
    display: grid;
    gap: 0.45rem;
    margin-bottom: var(--space-lg);
}

.opportunities-filter-group:last-child {
    margin-bottom: 0;
}

.opportunities-filter-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #3f375f;
    letter-spacing: 0.01em;
}

.opportunities-filter-group input,
.opportunities-filter-group select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 46px;
    padding: 0.82rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(131, 58, 180, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 255, 0.92));
    color: #25324d;
    font-size: 0.94rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 18px rgba(32, 18, 62, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.opportunities-filter-group input::placeholder {
    color: #8b7ea8;
}

.opportunities-filter-group select {
    padding-right: 2.8rem;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 255, 0.92)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='none' stroke='%23833ab4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M4.5 7l4.5 4 4.5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, right 1rem center;
    background-size: auto, 16px 16px;
}

.opportunities-filter-group input:focus,
.opportunities-filter-group select:focus {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(233, 89, 80, 0.4);
    box-shadow: 0 0 0 4px rgba(233, 89, 80, 0.1), 0 16px 34px rgba(79, 36, 108, 0.12);
}

.opportunities-results-pane {
    min-width: 0;
    width: min(100%, 860px);
    margin: 0 auto;
}

.recruiter-applications-results-pane {
    width: min(100%, 900px);
}

.opportunities-results-bar {
    margin-bottom: var(--space-lg);
}

.recruiter-applications-results-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: 1rem 1.1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(131, 58, 180, 0.08);
    box-shadow: 0 12px 34px rgba(32, 18, 62, 0.07);
}

.recruiter-applications-results-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(233, 89, 80, 0.08));
    color: #4b3f76;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.recruiter-applications-page-summary {
    margin: 0.65rem 0 0;
    color: #5d6884;
    font-size: 0.92rem;
    line-height: 1.6;
}

.recruiter-applications-results {
    display: grid;
    gap: 1rem;
}

.recruiter-applications-pagination-info {
    margin: 0.85rem 0 0.4rem;
}

.public-opportunities-count {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(131, 58, 180, 0.08);
    color: #4e4378;
    font-size: 0.92rem;
    font-weight: 700;
}

.opportunities-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.opportunities-page-header .section-title {
    margin-bottom: var(--space-lg);
    text-align: left;
}

.opportunities-page-header .section-title::after {
    left: 0;
    transform: none;
}

.opportunities-page-copy {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.recruiter-applications-page-header {
    margin-bottom: var(--space-2xl);
}

.recruiter-applications-empty {
    border-radius: 30px;
}

.public-opportunities-list {
    display: grid;
    gap: var(--space-xl);
}

.public-opportunity-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 30px;
    padding: var(--space-2xl);
    box-shadow: 0 18px 45px rgba(32, 18, 62, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.public-opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(32, 18, 62, 0.12);
    border-color: rgba(233, 89, 80, 0.18);
}

.public-opportunity-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.public-opportunity-copy-block {
    min-width: 0;
}

.public-opportunity-title {
    margin: 0 0 var(--space-sm) 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #15223b;
    line-height: 1.2;
}

.public-opportunity-company-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    color: #52607a;
    font-size: 1rem;
}

.public-opportunity-company {
    font-weight: 700;
    color: #223354;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.55rem;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 800;
    vertical-align: middle;
}

.verification-badge--compact {
    margin-left: 0.4rem;
    padding: 0.18rem 0.52rem;
    font-size: 0.74rem;
}

.verification-badge i {
    font-size: 0.82em;
}

.verification-badge--instagram {
    margin-left: 0.35rem;
    padding: 0;
    background: transparent;
    color: #22c55e;
    vertical-align: baseline;
}

.verification-badge--instagram i {
    font-size: 0.95rem;
    filter: drop-shadow(0 1px 1px rgba(34, 197, 94, 0.18));
}

.public-opportunity-separator {
    color: #98a3b8;
}

.public-opportunity-logo {
    flex-shrink: 0;
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--instagram-primary);
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 14px 28px rgba(233, 89, 80, 0.2);
}

.public-profile-card .public-opportunity-logo {
    width: 128px;
    height: 128px;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(233, 89, 80, 0.18);
}

.public-opportunity-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

@media (max-width: 880px) {
    .public-profile-card .public-opportunity-logo {
        width: 96px;
        height: 96px;
        border-radius: 18px;
    }
}

.public-opportunity-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    color: #445373;
    font-size: 1.02rem;
}

.public-opportunity-facts span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.public-opportunity-facts i,
.public-opportunity-description i {
    color: #6f7fa3;
}

.public-opportunity-description {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 var(--space-lg) 0;
    color: #31415f;
    font-size: 1.02rem;
    line-height: 1.65;
}

.public-opportunity-description span {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.public-opportunity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: var(--space-lg);
}

.public-opportunity-tag {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(131, 58, 180, 0.06);
    color: #5a4c86;
    font-size: 0.92rem;
    font-weight: 600;
}

.public-opportunity-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.public-opportunity-time {
    color: #7f8aa3;
    font-size: 0.95rem;
}

.public-opportunity-actions {
    display: flex;
    gap: var(--space-sm);
}

.public-opportunity-empty {
    padding: var(--space-5xl) var(--space-2xl);
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 28px;
    color: var(--text-secondary);
}

.public-opportunity-empty i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 0.95rem;
    }

    .navbar .container {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto;
        gap: var(--space-md);
        align-items: center;
    }

    .navbar .nav-brand {
        width: auto;
        justify-content: flex-start;
        justify-self: start;
    }

    .navbar .main-navigation {
        display: none;
    }

    .nav-actions {
        justify-self: end;
        flex-wrap: nowrap;
        gap: var(--space-sm);
        width: auto;
        justify-content: flex-end;
        align-items: center;
        min-width: 0;
    }

    .navbar .header-auth-buttons {
        width: auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        gap: var(--space-xs);
        min-width: 0;
    }

    .nav-actions > *,
    .navbar .header-auth-buttons > * {
        flex-shrink: 0;
    }

    .navbar .logo-main {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.8rem;
    }

    .navbar .btn-header {
        min-height: 38px;
        padding: 0.55rem 0.85rem;
    }

    .opportunities-page-header,
    .public-opportunity-top,
    .public-opportunity-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .opportunities-page-layout {
        grid-template-columns: 1fr;
    }

    .recruiter-applications-layout {
        grid-template-columns: 1fr;
    }

    .opportunities-filter-pane {
        position: static;
    }

    .recruiter-applications-filter-pane {
        position: static;
    }

    .recruiter-applications-results-bar {
        flex-direction: column;
    }

    .public-opportunity-card {
        border-radius: 22px;
        padding: var(--space-xl);
    }

    .public-opportunity-title {
        font-size: 1.25rem;
    }

    .public-opportunity-facts {
        gap: var(--space-md);
        font-size: 0.95rem;
    }

    .recruiter-applications-results-note {
        white-space: normal;
    }
    
    .main-navigation {
        order: 1;
        width: 100%;
        max-width: none;
    }
    
    .nav-links {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: var(--space-lg);
        margin-top: var(--space-sm);
        margin-right: 0;
    }
    
    .nav-menu {
        gap: var(--space-xs);
        padding: 0 var(--space-md);
    }
    
    .nav-item {
        padding: 2px var(--space-xs);
        min-width: 50px;
    }
    
    .nav-item i {
        font-size: 14px;
    }
    
    .nav-item span {
        font-size: 10px;
    }
    
    .notification-badge {
        top: 2px;
        right: 12px;
        font-size: 9px;
        padding: 1px 3px;
    }
    
    .nav-dot {
        top: 4px;
        right: 13px;
        width: 4px;
        height: 4px;
    }
    
    .profile-avatar {
        width: 18px;
        height: 18px;
    }
    
    .profile-avatar i {
        font-size: 9px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .cart-btn {
        font-size: 16px;
    }
    
    .cart-count {
        font-size: 10px;
        padding: 1px 4px;
        min-width: 14px;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .title-line-1 {
        font-size: 2rem;
    }
    
    .hero-main-subtitle {
        font-size: 1.1rem;
        padding: 0 var(--space-md);
    }
    
    .subtitle-cta {
        font-size: 1rem;
    }
    
    .hero-features {
        gap: var(--space-md);
        justify-content: center;
    }
    
    .feature-pill {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-md);
    }
    
    .cta-text {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .user-types {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .user-type-card {
        padding: var(--space-2xl);
        min-height: 280px;
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .opportunities-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: var(--space-md);
    }
    
    .carousel-container {
        max-width: 95%;
        margin: 0 auto;
    }
    
    .carousel-slide-group {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .model-image {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
    
    .carousel-controls {
        gap: var(--space-md);
        max-width: 250px;
        justify-content: space-between;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-methods {
        transform: scale(0.98);
        padding: calc(var(--space-xl) * 0.9);
    }
    
    .contact-card {
        padding: calc(var(--space-md) * 0.9);
        gap: calc(var(--space-md) * 0.9);
    }
    
    .contact-card-icon {
        width: calc(50px * 0.9);
        height: calc(50px * 0.9);
        font-size: calc(1.3rem * 0.9);
    }
    
    .contact-form {
        order: 2;
        padding: var(--space-xl);
        margin: 0;
        width: 100%;
        transform: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: auto;
        padding: 0.6rem 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .navbar .container {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.75rem;
    }

    .nav-actions {
        justify-self: end;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.45rem;
        width: auto;
        justify-content: flex-end;
        align-items: center;
        min-width: 0;
    }
    
    .navbar .header-auth-buttons {
        justify-content: flex-end;
        width: auto;
        gap: 0.45rem;
        flex-wrap: nowrap;
    }

    .navbar .btn-header {
        min-height: 38px;
        padding: 0.55rem 0.8rem;
        font-size: 0.875rem;
    }

    .navbar #logout-btn .btn-label,
    .navbar #subscription-admin-btn .btn-label {
        display: none;
    }

    .main-navigation {
        order: 1;
        width: 100%;
    }
    
    .nav-links {
        order: 2;
        width: 100%;
        gap: var(--space-sm);
        margin-right: 0;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0.35rem 0.55rem;
    }
    
    .nav-menu {
        gap: 2px;
        padding: 0 var(--space-sm);
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        padding: 2px;
        min-width: 42px;
        flex-shrink: 0;
    }
    
    .nav-item i {
        font-size: 14px;
    }
    
    .nav-item span {
        font-size: 9px;
    }
    
    .notification-badge {
        top: 1px;
        right: 8px;
        font-size: 8px;
        padding: 1px 2px;
        min-width: 12px;
    }
    
    .nav-dot {
        top: 3px;
        right: 10px;
        width: 3px;
        height: 3px;
    }
    
    .profile-avatar {
        width: 16px;
        height: 16px;
    }
    
    .profile-avatar i {
        font-size: 8px;
    }
    
    /* Hide some nav items on very small screens */
    .nav-item:nth-last-child(-n+2) {
        display: none;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .cart-btn {
        font-size: 15px;
        padding: var(--space-xs);
    }
    
    .cart-count {
        font-size: 9px;
        padding: 1px 3px;
        min-width: 12px;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .title-line-1 {
        font-size: 1.6rem;
    }
    
    .title-line-2 {
        flex-direction: column;
        gap: var(--space-xs);
        align-items: center;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .feature-pill {
        font-size: 0.75rem;
    }
    
    .hero-title-section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .user-type-section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .opportunities-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .contact-methods {
        transform: scale(1.0);
        padding: calc(var(--space-lg) * 0.9);
    }
    
    .contact-card {
        padding: calc(var(--space-sm) * 0.9);
        gap: calc(var(--space-sm) * 0.9);
    }
    
    .contact-card-icon {
        width: calc(45px * 0.9);
        height: calc(45px * 0.9);
        font-size: calc(1.2rem * 0.9);
    }
    
    .contact-card-content h3 {
        font-size: calc(1.1rem * 0.9);
    }
    
    .contact-primary {
        font-size: calc(0.9rem * 0.9);
    }
    
    .contact-secondary {
        font-size: calc(0.8rem * 0.9);
    }
    
    .method-info h3 {
        font-size: 1rem;
        margin-bottom: var(--space-xs);
    }
    
    .method-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .contact-form {
        padding: var(--space-lg);
        margin: 0;
        width: 100%;
        transform: none;
    }
    
    .form-group {
        margin-bottom: var(--space-md);
    }
    
    .form-group input,
    .form-group textarea {
        padding: var(--space-md);
        font-size: 1rem;
        border-radius: var(--radius-md);
        min-height: 44px;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .btn {
        min-height: 48px;
        font-size: 1rem;
        padding: var(--space-md) var(--space-xl);
        border-radius: var(--radius-md);
        touch-action: manipulation;
    }
    
    .carousel-container {
        max-width: 95%;
        margin: 0 auto;
    }
    
    .model-image {
        height: 250px;
    }
    
    .model-card-content {
        padding: var(--space-md);
    }
    
    .model-name {
        font-size: 1.1rem;
    }
    
    .model-specialty {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-controls {
        gap: var(--space-xs);
        max-width: 200px;
        justify-content: space-between;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .user-type-card {
        padding: var(--space-xl);
        min-height: 250px;
        justify-content: space-between;
    }
}

/* Authentication Modal Styles */
.actor-signup-page {
    position: relative;
    padding: calc(var(--space-5xl) * 1.2) 0;
    background:
        radial-gradient(circle at top left, rgba(252, 176, 69, 0.25), transparent 22%),
        radial-gradient(circle at top right, rgba(131, 58, 180, 0.28), transparent 30%),
        radial-gradient(circle at bottom center, rgba(253, 29, 29, 0.16), transparent 32%),
        linear-gradient(135deg, #2d1847 0%, #4a205d 32%, #7b2248 68%, #f08c39 100%);
    min-height: calc(100vh - 90px);
}

.actor-signup-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(131, 58, 180, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.actor-signup-page .container {
    max-width: min(1600px, 96vw);
}

.actor-signup-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 0.58fr) minmax(0, 2fr);
    gap: var(--space-3xl);
    align-items: start;
}

.actor-signup-intro {
    padding-top: var(--space-xl);
}

.actor-signup-intro .section-title,
.actor-signup-intro .section-title::after {
    color: var(--text-white);
}

.actor-signup-intro .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(252, 176, 69, 0.8));
}

.actor-signup-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.94);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.actor-signup-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    max-width: 24rem;
    margin-bottom: var(--space-xl);
}

.actor-signup-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

/* Enhanced Back to Home Button */
.btn-home-return {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all 0.2s ease;
    box-shadow: none;
}

.btn-home-return:hover {
    transform: none;
    box-shadow: var(--shadow-light);
    opacity: 0.9;
}

.opportunities-page-header .btn-home-return {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

/* Live Feed Indicator */
.live-feed-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    position: relative;
    animation: livePulse 2s infinite;
}

.live-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--success-color);
    border-radius: 50%;
    animation: livePulseRing 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes livePulseRing {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

.live-feed-kicker {
    background: linear-gradient(135deg, var(--success-color), var(--entertainment-teal));
    border: 1px solid rgba(38, 208, 206, 0.3);
    color: var(--text-white);
    margin-bottom: 0;
}

.actor-signup-card {
    position: relative;
    background:
        linear-gradient(145deg, rgba(49, 21, 73, 0.9) 0%, rgba(122, 36, 80, 0.86) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: calc(var(--radius-xl) + 4px);
    box-shadow: 0 30px 80px rgba(18, 10, 30, 0.35);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.actor-signup-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 35%, rgba(252, 176, 69, 0.08));
    pointer-events: none;
}

.actor-signup-form {
    position: relative;
    z-index: 1;
    padding: calc(var(--space-4xl) * 0.9);
}

.signup-form-section {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signup-form-section-header {
    margin-bottom: var(--space-lg);
}

.signup-form-section-title {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.01em;
}

.signup-form-section-copy {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.signup-form-full-width {
    margin-top: var(--space-md);
}

.actor-signup-grid {
    display: grid;
    gap: var(--space-lg);
}

.actor-signup-grid.two-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.actor-signup-grid.casting-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.actor-location-selector-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.actor-location-selector-group select {
    min-height: 48px;
}

.actor-location-helper {
    display: block;
    margin-top: var(--space-xs);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
}

.actor-work-links-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.actor-work-link-row {
    display: flex;
    align-items: center;
}

.actor-work-link-row input {
    width: 100%;
}

.actor-signup-form .form-group {
    margin-bottom: var(--space-lg);
}

.actor-signup-form label {
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
}

.actor-signup-form label.required::after {
    content: ' *';
    color: var(--error-color);
    margin-left: 0.2rem;
}

.actor-signup-form input,
.actor-signup-form select,
.actor-signup-form textarea {
    min-height: 48px;
    padding: 0.75rem 0.95rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.96) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
    caret-color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.actor-signup-form input[type="file"] {
    padding: var(--space-md);
    cursor: pointer;
    font-size: 0.74rem;
    line-height: 1.2;
    font-style: italic;
}

.optional-field {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}
}

.actor-signup-form input[type="file"]::file-selector-button {
    margin-right: var(--space-md);
    padding: 0.45rem 0.8rem;
    border: none;
    border-radius: 999px;
    background: var(--instagram-primary);
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.actor-signup-hint {
    display: block;
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.62);
    font-size: var(--text-xs);
}

.actor-signup-form input::placeholder,
.actor-signup-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-style: italic;
}

.actor-signup-form select {
    color: var(--text-white);
}

.actor-signup-form select option {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

#signup-actor-passport {
    min-height: 48px;
    font-size: 0.92rem;
    padding: 0.75rem 0.95rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.12);
}

#signup-actor-passport option {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.actor-signup-form input:focus,
.actor-signup-form select:focus,
.actor-signup-form textarea:focus {
    color: rgba(255, 255, 255, 0.98) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.98);
    caret-color: rgba(255, 255, 255, 0.98);
    border-color: rgba(252, 176, 69, 0.7);
    box-shadow: 0 0 0 4px rgba(252, 176, 69, 0.14);
    background: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-1px);
}

.actor-signup-form input:not(:placeholder-shown),
.actor-signup-form textarea:not(:placeholder-shown),
.actor-signup-form select {
    color: rgba(255, 255, 255, 0.96) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.actor-signup-form input:-webkit-autofill,
.actor-signup-form input:-webkit-autofill:hover,
.actor-signup-form input:-webkit-autofill:focus,
.actor-signup-form textarea:-webkit-autofill,
.actor-signup-form textarea:-webkit-autofill:hover,
.actor-signup-form textarea:-webkit-autofill:focus,
.actor-signup-form select:-webkit-autofill,
.actor-signup-form select:-webkit-autofill:hover,
.actor-signup-form select:-webkit-autofill:focus {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96) !important;
    caret-color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.08) inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.08) inset !important;
    transition: background-color 9999s ease-out 0s;
}

.actor-signup-form textarea {
    min-height: 140px;
    resize: vertical;
}

.actor-signup-actions {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06));
    border-radius: var(--radius-lg);
}

.actor-signup-consent {
    margin-bottom: var(--space-xl);
    padding: 1.15rem 1.15rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.actor-signup-consent-header {
    margin-bottom: 0.9rem;
}

.actor-signup-consent-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1rem;
    font-weight: 700;
}

.actor-signup-consent-copy {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.5;
}

.actor-signup-consent-card {
    display: grid;
    gap: 0.9rem;
}

.actor-signup-consent-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.93rem;
    line-height: 1.6;
}

.actor-signup-consent-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    line-height: 1.55;
    cursor: pointer;
}

.actor-signup-consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    accent-color: #f28c3b;
}

.signup-form-feedback {
    margin-bottom: var(--space-lg);
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.45;
    border: 1px solid transparent;
}

.signup-form-feedback-error {
    background: rgba(253, 29, 29, 0.14);
    border-color: rgba(253, 29, 29, 0.3);
    color: #ffe0e0;
}

.signup-form-feedback-success {
    background: rgba(38, 208, 206, 0.14);
    border-color: rgba(38, 208, 206, 0.28);
    color: #ddfffb;
}

.signup-form-feedback-loading {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

body.app-loading-active {
    cursor: progress;
}

.app-loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4200;
    pointer-events: none;
}

.app-loading-indicator__card,
.inline-loading {
    width: auto;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    text-align: center;
    color: var(--text-white);
    background: rgba(24, 14, 38, 0.88);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 48px rgba(10, 6, 25, 0.32);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
}

.app-loading-indicator__spinner,
.inline-loading__spinner {
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.12) 0deg,
        rgba(255, 255, 255, 0.12) 36deg,
        rgba(252, 176, 69, 0.95) 54deg,
        rgba(255, 255, 255, 0.18) 108deg,
        rgba(233, 89, 80, 0.85) 162deg,
        rgba(255, 255, 255, 0.14) 216deg,
        rgba(138, 58, 185, 0.92) 270deg,
        rgba(255, 255, 255, 0.12) 360deg
    );
    animation: spin 1.05s linear infinite;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.app-loading-indicator__spinner::before,
.inline-loading__spinner::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(20, 11, 34, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.app-loading-indicator__label,
.inline-loading__label {
    margin-top: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 800;
    color: rgba(255,255,255,0.86);
}

.inline-loading {
    justify-content: center;
    margin: 0 auto;
}

body.profile-creation-overlay-active {
    overflow: hidden;
}

.profile-creation-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    background:
        radial-gradient(circle at top, rgba(252, 176, 69, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(233, 89, 80, 0.2), transparent 38%),
        linear-gradient(135deg, rgba(15, 10, 30, 0.94) 0%, rgba(40, 17, 72, 0.94) 46%, rgba(112, 31, 76, 0.92) 100%);
    backdrop-filter: blur(12px);
}

.profile-creation-overlay__card {
    width: min(100%, 28rem);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 28px 90px rgba(10, 6, 25, 0.45);
    text-align: center;
    color: var(--text-white);
}

.profile-creation-overlay__ring {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 0.42rem solid rgba(255,255,255,0.14);
    border-top-color: #fccc63;
    border-right-color: #e95950;
    border-bottom-color: #8a3ab9;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.03);
}

.profile-creation-overlay__title {
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.profile-creation-overlay__message {
    margin: 0 auto;
    max-width: 20rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.98rem;
}

.profile-creation-overlay__dots {
    width: fit-content;
    margin: 1.5rem auto 0;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
    display: flex;
    gap: 0.55rem;
}

.profile-creation-overlay__dots span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: profileCreationPulse 1.2s ease-in-out infinite;
}

.profile-creation-overlay__dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.profile-creation-overlay__dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes profileCreationPulse {
    0%, 100% {
        transform: scale(0.85);
        opacity: 0.45;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.actor-signup-submit {
    min-height: 56px;
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 35px rgba(19, 10, 35, 0.35);
}

.actor-signup-submit[disabled] {
    opacity: 0.78;
    cursor: wait;
}

@media (max-width: 1280px) {
    .actor-signup-shell {
        grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.6fr);
    }
}

@media (max-width: 960px) {
    .actor-signup-shell {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .actor-signup-intro {
        padding-top: 0;
    }

    .actor-signup-grid.two-column,
    .actor-signup-grid.casting-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .actor-signup-page {
        padding: var(--space-3xl) 0;
    }

    .actor-signup-form {
        padding: var(--space-2xl);
    }

    .signup-form-section {
        padding: var(--space-lg);
    }

    .actor-signup-grid.two-column {
        grid-template-columns: 1fr;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-header i {
    font-size: 4rem;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-primary);
    margin-bottom: var(--space-xl);
}

.auth-tab {
    flex: 1;
    padding: var(--space-lg);
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.auth-forms {
    position: relative;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group input {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.full-width {
    width: 100%;
    margin-top: var(--space-lg);
}

#auth-modal {
    background: rgba(11, 7, 20, 0.68);
    backdrop-filter: blur(14px);
}

#auth-modal .modal-content {
    position: relative;
    max-width: 684px;
    width: min(83vw, 684px);
    max-height: min(92vh, 760px);
    padding: calc(var(--space-4xl) * 0.9);
    border-radius: calc(var(--radius-xl) + 6px);
    background:
        radial-gradient(circle at top left, rgba(252, 176, 69, 0.16), transparent 22%),
        radial-gradient(circle at top right, rgba(131, 58, 180, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(44, 20, 68, 0.94) 0%, rgba(109, 33, 76, 0.92) 55%, rgba(242, 140, 59, 0.86) 130%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 34px 90px rgba(9, 6, 18, 0.42);
    overflow: hidden;
    overflow-y: auto;
}

#auth-modal .modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 35%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

#auth-modal .modal-close {
    position: absolute;
    top: var(--space-xl);
    left: var(--space-xl);
    z-index: 2;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.08);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#auth-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--text-white);
}

#auth-modal .auth-header {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-3xl);
}

#auth-modal .auth-header h2 {
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.8rem, 3.6vw, 2.34rem);
    letter-spacing: -0.03em;
}

#auth-modal .auth-header p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
}

#auth-modal .auth-tabs {
    position: relative;
    z-index: 1;
    gap: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    margin-bottom: var(--space-2xl);
}

#auth-modal .auth-tab {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.99rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#auth-modal .auth-tab.active {
    color: #d875ff;
    border-bottom-color: #d875ff;
}

#auth-modal .auth-forms {
    position: relative;
    z-index: 1;
}

#auth-modal .form-group {
    margin-bottom: var(--space-lg);
}

#auth-modal .form-group input,
#auth-modal .form-group select {
    width: 100%;
    min-height: 46px;
    padding: 0 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-white);
    font-size: 0.92rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

#auth-modal .form-group input::placeholder,
#auth-modal .form-group select {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

#auth-modal .form-group input:focus,
#auth-modal .form-group select:focus {
    outline: none;
    border-color: rgba(216, 117, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(216, 117, 255, 0.16);
    background: rgba(255, 255, 255, 0.18);
}

#auth-modal .form-group input:-webkit-autofill,
#auth-modal .form-group input:-webkit-autofill:hover,
#auth-modal .form-group input:-webkit-autofill:focus,
#auth-modal .form-group select:-webkit-autofill,
#auth-modal .form-group select:-webkit-autofill:hover,
#auth-modal .form-group select:-webkit-autofill:focus {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96) !important;
    caret-color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.14) inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.14) inset !important;
    transition: background-color 9999s ease-out 0s;
}

#auth-modal .auth-feedback {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.25rem 0 0.95rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.45;
    border: 1px solid transparent;
}

#auth-modal .auth-feedback::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 0 0 auto;
}

#auth-modal .auth-feedback-error {
    background: rgba(253, 29, 29, 0.14);
    border-color: rgba(253, 29, 29, 0.28);
    color: #ffd7d7;
}

#auth-modal .auth-feedback-error::before {
    content: '\f06a';
}

#auth-modal .auth-feedback-success {
    background: rgba(38, 208, 206, 0.14);
    border-color: rgba(38, 208, 206, 0.32);
    color: #d7fffa;
}

#auth-modal .auth-feedback-success::before {
    content: '\f058';
}

#auth-modal .auth-feedback-loading {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
}

#auth-modal .auth-feedback-loading::before {
    content: '\f110';
    animation: auth-feedback-spin 0.9s linear infinite;
}

#auth-modal .auth-inline-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: -0.2rem 0 0.85rem;
}

#auth-modal .auth-inline-actions--between {
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

#auth-modal .auth-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
}

#auth-modal .auth-link-button:hover {
    color: #ffffff;
}

#auth-modal .auth-link-button--inline {
    margin-top: -0.1rem;
}

#auth-modal .auth-recovery-shell {
    display: grid;
    gap: 1rem;
}

#auth-modal .auth-recovery-header {
    padding: 1rem 1.1rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#auth-modal .auth-recovery-header h3 {
    margin: 0.15rem 0 0.4rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

#auth-modal .auth-recovery-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.55;
}

#auth-modal .auth-recovery-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    background: rgba(216, 117, 255, 0.18);
    color: #ffd9ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#auth-modal .auth-recovery-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

#auth-modal .auth-recovery-step-indicator {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
}

#auth-modal .auth-recovery-step-indicator span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.85rem;
    font-weight: 800;
}

#auth-modal .auth-recovery-step-indicator strong {
    font-size: 0.82rem;
    font-weight: 700;
}

#auth-modal .auth-recovery-step-indicator.active {
    background: rgba(216, 117, 255, 0.22);
    border-color: rgba(216, 117, 255, 0.3);
    color: #ffffff;
}

#auth-modal .auth-recovery-step-indicator.active span {
    background: rgba(255, 255, 255, 0.2);
}

#auth-modal .auth-recovery-step-indicator.complete {
    background: rgba(38, 208, 206, 0.16);
    border-color: rgba(38, 208, 206, 0.22);
    color: #d7fffa;
}

#auth-modal .auth-recovery-step-indicator.complete span {
    background: rgba(38, 208, 206, 0.28);
}

#auth-modal .auth-recovery-step {
    display: none;
}

#auth-modal .auth-recovery-step.active {
    display: block;
}

#auth-modal .auth-recovery-help {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.5;
}

#auth-modal .auth-password-field {
    position: relative;
}

#auth-modal .auth-password-field input {
    padding-right: 3rem;
}

#auth-modal .auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

#auth-modal .auth-password-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

#auth-modal .auth-code-input {
    text-align: center;
    letter-spacing: 0.34em;
    font-size: 1rem;
    font-weight: 700;
}

#auth-modal .auth-recovery-caption {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.8rem;
    text-align: right;
}

#auth-modal .btn-primary-instagram {
    min-height: 56px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(37, 14, 53, 0.28);
}

#auth-modal button[disabled] {
    opacity: 0.75;
    cursor: wait;
}

#auth-modal .btn-secondary {
    min-height: 54px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd400 0%, #ffbf00 100%);
    color: #432300;
    box-shadow: 0 18px 40px rgba(255, 194, 0, 0.28);
}

#auth-modal .btn-secondary:hover {
    color: #432300;
}

#auth-modal .auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-lg) 0 var(--space-md);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

#auth-modal .auth-divider span {
    position: relative;
    padding: 0 0.9rem;
}

#auth-modal .auth-divider span::before,
#auth-modal .auth-divider span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 64px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

#auth-modal .auth-divider span::before {
    right: 100%;
}

#auth-modal .auth-divider span::after {
    left: 100%;
}

@keyframes auth-feedback-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    #auth-modal .modal-content {
        padding: var(--space-3xl) var(--space-xl) var(--space-xl);
        border-radius: var(--radius-xl);
    }

    #auth-modal .modal-close {
        top: var(--space-lg);
        left: var(--space-lg);
    }

    #auth-modal .auth-header h2 {
        font-size: 1.75rem;
    }

    #auth-modal .auth-recovery-steps {
        grid-template-columns: 1fr;
    }

    #auth-modal .auth-inline-actions--between {
        flex-direction: column;
        align-items: flex-start;
    }

    #auth-modal .auth-recovery-caption {
        text-align: left;
    }
}

/* ============================================
   Dashboard Alignment Refinements
   ============================================ */

.instagram-layout {
    grid-template-columns: minmax(280px, 316px) minmax(0, 1fr);
    align-items: start;
}

.left-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

.main-content {
    min-width: 0;
}

.profile-card,
.stats-card,
.app-status-header,
.app-list-panel,
.app-detail-panel,
.dashboard-empty-state,
.dashboard-casting-card,
.saved-job-card,
.recv-app-card,
.req-list-card,
.shortlist-group {
    border-radius: 22px;
}

.content-tabs {
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: stretch;
}

.tab-btn {
    min-width: max-content;
    border-radius: 14px;
}

.feed-header {
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(32, 18, 62, 0.05);
}

#available-castings,
#available-casting-opportunities,
#saved-jobs-list,
#casting-requirements {
    display: grid;
    gap: 1rem;
}

.app-split-layout {
    align-items: start;
}

.app-list-panel,
.app-detail-panel {
    min-height: 32rem;
}

.app-detail-panel {
    padding: 0;
}

.app-detail-placeholder {
    min-height: 100%;
    display: grid;
    place-items: center;
}

.dashboard-casting-footer,
.req-list-footer,
.recv-app-footer,
.saved-job-actions {
    flex-wrap: wrap;
}

.dashboard-casting-actions,
.req-list-actions,
.recv-status-controls,
.saved-job-actions,
.profile-actions {
    row-gap: 0.6rem;
}

@media (max-width: 900px) {
    .left-sidebar {
        position: static;
        top: auto;
    }

    .content-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .tab-btn {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .feed-header {
        padding: 0.95rem 1rem;
    }

    .profile-card,
    .stats-card,
    .app-status-header,
    .app-list-panel,
    .app-detail-panel,
    .dashboard-empty-state,
    .dashboard-casting-card,
    .saved-job-card,
    .recv-app-card,
    .req-list-card,
    .shortlist-group {
        border-radius: 18px;
    }
}

/* Landing Page Animations */
.landing-hero {
    animation: fadeInUp 0.8s ease-out;
}

.user-type-card {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.user-type-card:nth-child(1) { animation-delay: 0.1s; }
.user-type-card:nth-child(2) { animation-delay: 0.2s; }
.user-type-card:nth-child(3) { animation-delay: 0.3s; }

.benefit-card {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.opportunity-card {
    animation: popIn 0.5s ease-out;
    animation-fill-mode: both;
}

.opportunity-card:nth-child(1) { animation-delay: 0.05s; }
.opportunity-card:nth-child(2) { animation-delay: 0.1s; }
.opportunity-card:nth-child(3) { animation-delay: 0.15s; }
.opportunity-card:nth-child(4) { animation-delay: 0.2s; }
.opportunity-card:nth-child(5) { animation-delay: 0.25s; }
.opportunity-card:nth-child(6) { animation-delay: 0.3s; }
.opportunity-card:nth-child(7) { animation-delay: 0.35s; }
.opportunity-card:nth-child(8) { animation-delay: 0.4s; }

/* Contact Section */
.contact-section {
    padding: calc(var(--space-4xl) + var(--space-xl)) var(--space-lg) var(--space-4xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(131,58,180,0.1)"/><circle cx="18" cy="8" r="0.5" fill="rgba(253,29,29,0.1)"/><circle cx="8" cy="18" r="0.8" fill="rgba(252,176,64,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--fluid-space);
    align-items: stretch;
}

.contact-methods {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: calc(var(--space-3xl) * 0.9);
    transform: scale(0.9);
    transform-origin: center;
    margin-bottom: calc(var(--space-3xl) * 0.9);
}

.contact-card {
    background: transparent;
    border-radius: 0;
    padding: calc(var(--space-lg) * 0.9);
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(138, 58, 185, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    transform: none;
}

.contact-card:last-child {
    border-bottom: none;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -calc(var(--space-2xl) * 0.9);
    right: -calc(var(--space-2xl) * 0.9);
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 58, 185, 0.03), transparent);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(138, 58, 185, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: calc(60px * 0.9);
    height: calc(60px * 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1.5rem * 0.9);
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.phone-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.email-icon {
    background: linear-gradient(135deg, #EA4335, #FBBC04);
}

.location-icon {
    background: linear-gradient(135deg, #4285F4, #34A853);
}

.chat-icon {
    background: var(--instagram-primary);
}

.contact-card-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-card-content h3 {
    color: var(--text-primary);
    font-size: calc(1.2rem * 0.9);
    font-weight: 700;
    margin-bottom: calc(var(--space-sm) * 0.9);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-xs) * 0.9);
}

.contact-primary {
    color: var(--text-primary);
    font-weight: 600;
    font-size: calc(0.95rem * 0.9);
    margin: 0;
}

.contact-secondary {
    color: var(--text-secondary);
    font-size: calc(0.85rem * 0.9);
    margin: 0;
}

.contact-card-action {
    color: var(--instagram-primary);
    font-size: calc(1.2rem * 0.9);
    opacity: 0.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    align-self: center;
}

.contact-card:hover .contact-card-action {
    opacity: 1;
    transform: translateX(calc(5px * 0.9));
}

.contact-form {
    background: white;
    padding: calc(var(--space-3xl) * 0.9);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transform-origin: center;
    overflow: visible;
}

.contact-form h3 {
    color: var(--text-primary);
    font-size: calc(1.3rem * 0.9);
    font-weight: 700;
    margin-bottom: calc(var(--space-2xl) * 0.9);
}

.contact-form .form-group {
    margin-bottom: var(--space-lg);
}

.contact-form label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--instagram-purple);
    box-shadow: 0 0 0 2px rgba(131, 58, 180, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
}

/* Enhanced submit button styling */
.contact-form .btn-primary-gradient {
    background: linear-gradient(135deg, #8a3ab9, #e95950) !important;
    color: white !important;
    font-weight: 600;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.contact-form .btn-primary-gradient:hover {
    background: linear-gradient(135deg, #7a2a99, #d94840) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 58, 185, 0.4);
}

.contact-form .btn-primary-gradient:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #6a1a89, #c93830) !important;
}

.privacy-text {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.privacy-text a {
    color: var(--instagram-purple);
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--instagram-purple), var(--instagram-pink));
    color: white;
    border: none;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
    width: 100%;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.btn-primary-gradient:active {
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Instagram-Style Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: var(--space-md) var(--space-2xl);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    letter-spacing: 0.025em;
    justify-content: center;
    min-height: 36px;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn i {
    margin-right: var(--space-sm);
    font-size: 14px;
}

.btn-primary {
    background: var(--instagram-primary);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-colored);
}

.btn-primary::before {
    background: linear-gradient(45deg, var(--instagram-purple) 0%, var(--entertainment-coral) 100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--entertainment-gold);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-colored);
}

.btn-secondary::before {
    background: linear-gradient(45deg, var(--entertainment-deep-purple) 0%, var(--entertainment-teal) 100%);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline::before {
    background: var(--instagram-primary);
}

.btn-outline:hover {
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-outline-instagram {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9));
}

.btn-outline-instagram::before {
    background: var(--instagram-primary);
}

.btn-outline-instagram:hover {
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-primary-instagram {
    background: var(--instagram-primary);
    color: var(--text-white);
    border: 1px solid transparent;
    box-shadow: var(--shadow-colored);
}

.btn-primary-linkedin:hover {
    background: var(--linkedin-blue-dark);
    border-color: var(--linkedin-blue-dark);
}

.btn-full {
    width: 100%;
}

.auth-buttons,
.hero-auth {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    margin-top: var(--space-3xl);
}

.auth-buttons .btn,
.hero-auth .btn {
    min-width: 180px;
    padding: var(--space-lg) var(--space-3xl);
    font-size: 16px;
    border-radius: 24px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 560px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(131, 58, 180, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(131, 58, 180, 0.08);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-secondary);
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.04), rgba(253, 29, 29, 0.03));
}

.modal-header h2 {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-tertiary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(253, 29, 29, 0.08);
    color: var(--secondary-color);
}

.modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
}

input, select, textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: var(--spacing-sm);
}

/* Instagram-Style Dashboard Layout */
.dashboard {
    padding-top: 92px;
    padding-bottom: var(--space-3xl);
    background: var(--bg-primary);
    min-height: calc(100vh - 92px);
}

.instagram-layout {
    display: grid;
    grid-template-columns: 316px 1fr;
    gap: var(--space-xl);
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Left Sidebar */
.left-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.profile-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-secondary);
    position: relative;
    box-shadow: var(--shadow-light);
}

.profile-banner {
    height: 80px;
    background: var(--instagram-primary);
    position: relative;
    overflow: hidden;
}

.profile-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(131, 58, 180, 0.9) 0%, 
        rgba(245, 96, 64, 0.9) 50%,
        rgba(252, 176, 69, 0.9) 100%);
    z-index: 1;
}

.agency-banner {
    background: var(--entertainment-gold);
}

.agency-banner::before {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.9) 0%, 
        rgba(255, 138, 0, 0.8) 50%,
        rgba(229, 115, 115, 0.9) 100%);
}

.profile-avatar {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border: 4px solid var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.agency-avatar {
    color: var(--entertainment-gold);
}

.profile-info {
    padding: 50px var(--space-xl) var(--space-xl);
    text-align: center;
}

.profile-details {
    margin-bottom: var(--space-xl);
}

.profile-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-tertiary);
    font-size: 14px;
}

.profile-detail-item:last-child {
    border-bottom: none;
}

.profile-detail-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.profile-detail-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.profile-value-na {
    color: var(--text-muted) !important;
    font-weight: 500;
}

.theme-link {
    color: var(--primary-color);
    word-break: break-all;
    text-decoration: none;
    transition: color 0.2s ease;
}

.theme-link:hover {
    color: var(--secondary-color);
}

.theme-profile-heading {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.theme-profile-title {
    margin: 0 0 var(--space-xs) 0;
    color: var(--text-primary);
    font-weight: 700;
}

.theme-profile-title--lg {
    font-size: 20px;
}

.theme-profile-title--md {
    font-size: 18px;
}

.theme-profile-subtitle {
    margin: 0;
    color: var(--text-tertiary);
    font-size: 14px;
}

.theme-stats-grid {
    display: grid;
    gap: var(--space-md);
}

.theme-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.theme-stats-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.theme-stat-value {
    font-weight: 700;
}

.theme-stat-value--primary {
    color: var(--primary-color);
}

.theme-stat-value--success {
    color: var(--success-color);
}

#actor-stats-sidebar .theme-stat-value--success {
    color: #2eaf57;
}

.theme-stat-value--accent {
    color: var(--accent-dark);
}

.theme-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
}

.theme-stack-sm {
    display: grid;
    gap: 0.85rem;
}

.theme-media-spacing {
    margin-top: 1.25rem;
}

.theme-icon-lg {
    color: var(--text-white);
    font-size: 1.6rem;
}

.app-list-status--fixed {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .theme-grid-two {
        grid-template-columns: 1fr;
    }
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.profile-actions .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
}

/* Stats Card */
.stats-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid var(--border-secondary);
}

.stats-card h3 {
    margin: 0 0 var(--space-lg) 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Main Content Area */
.main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Content Tabs */
.content-tabs {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    border: 1px solid rgba(131, 58, 180, 0.1);
    display: flex;
    padding: 5px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(32, 18, 62, 0.06);
}

.tab-btn {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    background: transparent;
    color: #52607a;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 60px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

.tab-btn.active {
    background: var(--instagram-primary);
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(233, 89, 80, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(131, 58, 180, 0.06);
    color: #15223b;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Feed Header */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.feed-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feed-filters {
    width: 100%;
}

.opportunity-filters {
    display: grid;
    gap: 0.85rem;
    width: 100%;
    padding: 1.35rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 182, 73, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,247,252,0.96) 58%, rgba(248,248,255,0.98) 100%);
    border: 1px solid rgba(131, 58, 180, 0.12);
    box-shadow: 0 18px 40px rgba(88, 42, 115, 0.08);
}

.opportunity-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.opportunity-filter-copy {
    display: grid;
    gap: 0.28rem;
}

.opportunity-filter-copy h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d2744;
}

.opportunity-filter-copy p {
    margin: 0;
    color: #6a7391;
    font-size: 0.92rem;
    line-height: 1.55;
}

.opportunity-filter-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(131, 58, 180, 0.08);
    color: #7a2d8f;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.opportunity-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(255, 107, 53, 0.08));
    color: #5f276f;
    font-size: 0.84rem;
    font-weight: 800;
    border: 1px solid rgba(131, 58, 180, 0.08);
}

.opportunity-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
    width: 100%;
}

.opportunity-filter-control {
    display: grid;
    gap: 0.45rem;
}

.opportunity-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.opportunity-filter-control > .opportunity-filter-label > span:last-child {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6a7391;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.opportunity-filter-icon {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(255, 107, 53, 0.08));
    color: #7a2d8f;
    font-size: 0.78rem;
    box-shadow: inset 0 0 0 1px rgba(131, 58, 180, 0.05);
}

.opportunity-filter-input-shell {
    position: relative;
    display: block;
}

.opportunity-filter-input-shell--search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8f799a;
    font-size: 0.82rem;
    pointer-events: none;
}

.opportunity-filter-control input,
.opportunity-filter-control select {
    width: 100%;
    min-height: 54px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(131, 58, 180, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    font: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 10px 24px rgba(32, 18, 62, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.opportunity-filter-control input {
    padding-left: 2.9rem;
}

.opportunity-filter-control input:focus,
.opportunity-filter-control select:focus {
    outline: none;
    border-color: rgba(131, 58, 180, 0.4);
    box-shadow:
        0 0 0 4px rgba(131, 58, 180, 0.08),
        0 14px 28px rgba(131, 58, 180, 0.08);
    transform: translateY(-1px);
}

.opportunity-filter-control--search {
    grid-column: span 2;
}

.opportunity-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.opportunity-filter-summary {
    color: #6e7895;
    font-size: 0.92rem;
    font-weight: 700;
}

.opportunity-filter-reset {
    border: 1px solid rgba(131, 58, 180, 0.2);
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,244,250,0.96));
    color: #6a2e86;
    border-radius: 999px;
    padding: 0.78rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(131, 58, 180, 0.06);
    transition: all 0.18s ease;
}

.opportunity-filter-reset:hover {
    border-color: rgba(131, 58, 180, 0.36);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(252,238,246,0.98));
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(131, 58, 180, 0.08);
}

@media (max-width: 900px) {
    .opportunity-filter-control--search {
        grid-column: span 1;
    }

    .opportunity-filters {
        padding: 1rem;
        border-radius: 22px;
    }

    .opportunity-filter-head {
        align-items: stretch;
    }
}

/* Instagram Feed */
.instagram-feed {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Profile Summary */
.profile-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.profile-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: profileFloat 12s ease-in-out infinite;
}

.profile-summary::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: profileFloat 8s ease-in-out infinite reverse;
}

@keyframes profileFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

.profile-summary h3 {
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.profile-summary h3::before {
    background: rgba(255, 255, 255, 0.3);
}

.profile-details {
    display: grid;
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.profile-detail-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.profile-detail-item:hover {
    padding-left: var(--spacing-sm);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.profile-detail-item:last-child {
    border-bottom: none;
}

.profile-detail-label {
    font-weight: 600;
    opacity: 0.9;
}

.profile-detail-item span:last-child {
    font-weight: 500;
    opacity: 0.95;
}

/* Instagram-Style Application Cards */
.application-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all 0.2s ease;
    position: relative;
}

.application-item:hover {
    border-color: var(--border-primary);
    box-shadow: var(--shadow-medium);
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-lg);
}

.application-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.casting-agency {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.casting-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.casting-detail {
    font-size: 14px;
    color: var(--text-secondary);
}

.casting-detail strong {
    color: var(--text-primary);
    font-weight: 600;
}

.casting-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
    align-items: center;
}

.casting-actions .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 14px;
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Instagram-Style Status Badges */
.status-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: linear-gradient(45deg, transparent 0%, currentColor 100%);
    z-index: -1;
}

.status-applied {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(245, 96, 64, 0.05));
    color: var(--instagram-purple);
    border-color: var(--instagram-purple);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.2);
}

.status-under-review {
    background: linear-gradient(135deg, rgba(252, 176, 69, 0.1), rgba(255, 193, 7, 0.05));
    color: var(--entertainment-gold);
    border-color: var(--entertainment-gold);
    box-shadow: 0 4px 15px rgba(252, 176, 69, 0.2);
}

.status-shortlisted {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
    color: var(--entertainment-teal);
    border-color: var(--entertainment-teal);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.status-locked {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(147, 51, 234, 0.05));
    color: var(--entertainment-deep-purple);
    border-color: var(--entertainment-deep-purple);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
}

.status-rejected {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(229, 57, 53, 0.05));
    color: var(--entertainment-coral);
    border-color: var(--entertainment-coral);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.2);
}

/* Casting Cards */
.casting-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.casting-item:hover {
    border-left-color: var(--accent-color);
    border-color: var(--border-medium);
    box-shadow: 0 12px 40px var(--shadow-medium);
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light-blue) 100%);
}

.casting-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.casting-title {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.casting-agency {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.casting-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.casting-detail {
    font-size: 0.875rem;
}

.casting-detail strong {
    color: var(--text-dark);
}

.casting-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

/* Instagram-Style Action Buttons */
.btn-apply {
    background: var(--instagram-primary);
    color: var(--text-white);
    border: 1px solid transparent;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.btn-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--instagram-purple) 0%, var(--entertainment-coral) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-apply:hover::before {
    left: 0;
}

.btn-view {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--instagram-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-view:hover {
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-view:hover::before {
    left: 0;
}

.btn-update-status {
    background: var(--entertainment-gold);
    color: var(--text-white);
    border: 1px solid transparent;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-update-status:hover {
    background: #046c39;
    border-color: #046c39;
}

/* Status Update Controls */
.status-controls {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-tertiary);
}

.status-select {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-update-status {
    background: var(--success-gradient);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-update-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(67, 233, 123, 0.4);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

/* Responsive Design for Instagram Layout */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .auth-buttons,
    .hero-auth {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .auth-buttons .btn,
    .hero-auth .btn {
        min-width: auto;
    }
    
    .instagram-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .left-sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .modal-content {
        width: 95%;
        margin: var(--space-lg);
    }
    
    .casting-details {
        grid-template-columns: 1fr;
    }
    
    .casting-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .casting-actions .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .instagram-layout {
        padding: 0 var(--space-md);
    }
    
    .profile-card {
        margin: 0 -var(--space-sm);
    }
    
    .tab-btn {
        font-size: 13px;
        padding: var(--space-sm);
    }
}

/* Animation for smooth transitions */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error States */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid #ffcdd2;
    margin-bottom: var(--spacing-lg);
}

.success-message {
    background: #e8f5e8;
    color: #2e7d32;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid #c8e6c9;
    margin-bottom: var(--spacing-lg);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #8b0000 100%);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #8a3ab9, #e95950, #fccc63) 1;
    padding: var(--space-lg) 0;
    margin-top: var(--space-2xl);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 58, 185, 0.1), rgba(233, 89, 80, 0.1), rgba(252, 204, 99, 0.1));
    pointer-events: none;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    background: linear-gradient(45deg, #fccc63, #e95950);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo .logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.footer-logo .logo-tagline {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--instagram-purple), var(--instagram-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
    margin-bottom: -2px;
}

.footer-logo .logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fccc63;
    background: linear-gradient(45deg, #8a3ab9, #e95950);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(138, 58, 185, 0.4);
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #4267B2);
}

.social-link.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0a66c2, #004182);
}

.mobile-app-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(138, 58, 185, 0.1));
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.mobile-app-section h3 {
    color: white;
    margin-bottom: var(--space-sm);
    background: linear-gradient(45deg, #fccc63, #e95950);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-app-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.app-button {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(138, 58, 185, 0.1));
    padding: var(--space-xs);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 58, 185, 0.3);
    border-color: rgba(252, 204, 99, 0.5);
}

.app-button img {
    width: 140px;
    height: auto;
    display: block;
    filter: brightness(1.1) contrast(1.1);
    transition: filter 0.3s ease;
}

.app-button:hover img {
    filter: brightness(1.2) contrast(1.2);
}

/* Enhanced Responsive Breakpoints */
@media (max-width: 1440px) {
    .container {
        max-width: min(92%, 1200px);
    }
}

@media (max-width: 1200px) {
    :root {
        --fluid-space: clamp(0.875rem, 3vw, 1.5rem);
        --fluid-text: clamp(0.8125rem, 2.25vw, 1rem);
        --fluid-title: clamp(1.75rem, 7vw, 3.5rem);
    }
    
    .container {
        max-width: min(94%, 1000px);
    }
    
    .opportunities-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    }
}
/* Enhanced Responsive Breakpoints */
@media (max-width: 1440px) {
    .container {
        max-width: min(92%, 1200px);
    }
}

@media (max-width: 1200px) {
    :root {
        --fluid-space: clamp(0.875rem, 3vw, 1.5rem);
        --fluid-text: clamp(0.8125rem, 2.25vw, 1rem);
        --fluid-title: clamp(1.75rem, 7vw, 3.5rem);
    }
    
    .container {
        max-width: min(94%, 1000px);
    }
    
    .opportunities-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    }
    
    .user-types {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    }
}

/* Base responsive improvements for touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-item:hover,
    .btn:hover,
    .social-link:hover,
    .footer-links a:hover {
        transform: none;
    }

    .nav-item:active,
    .btn:active {
        transform: scale(0.95);
    }

    /* Increase tap targets for mobile */
    .nav-item {
        min-height: 44px;
        min-width: 44px;
    }

    .social-link {
        min-height: 44px;
        min-width: 44px;
    }

    .cart-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Additional Mobile-First Media Queries */
@media (min-width: 576px) {
    .container {
        max-width: min(96%, 540px);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: min(94%, 720px);
    }
    
    .user-types {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    }
}

@media (min-width: 992px) {
    .container {
        max-width: min(92%, 960px);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .mobile-app-section {
        grid-column: span 3;
        text-align: center;
    }
    
    .contact-content {
        gap: var(--space-2xl);
    }
    
    .opportunities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-main-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    
    .mobile-app-section {
        grid-column: span 2;
        text-align: center;
        padding: var(--space-lg);
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: var(--space-md);
    }
    
    .social-links {
        justify-content: center;
        margin-top: var(--space-md);
    }

    .footer {
        padding: var(--space-md) 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-section:first-child {
        order: -1;
    }
    
    .mobile-app-section {
        grid-column: span 1;
        padding: var(--space-md);
        order: 1;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .app-button img {
        width: 140px;
        height: auto;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-bottom {
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
    }
}
/* Live Update Time Display */
.public-opportunities-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-light);
}

.opportunities-count-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-lg);
}

.live-update-time {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
}

.live-update-time i {
    color: var(--success-color);
    animation: tickAnimation 1s infinite;
}

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

@media (max-width: 768px) {
    .public-opportunities-count {
        flex-direction: column;
        text-align: center;
    }
}

/* Pagination Controls */
.opportunities-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pagination-per-page {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pagination-per-page label {
    font-weight: 600;
    white-space: nowrap;
}

.pagination-per-page select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 42px;
    padding: 0.45rem 2.4rem 0.45rem 0.9rem;
    border: 1px solid rgba(131, 58, 180, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 255, 0.92)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='none' stroke='%23833ab4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M4.5 7l4.5 4 4.5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, right 0.8rem center;
    background-size: auto, 16px 16px;
    color: #2f3550;
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(32, 18, 62, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pagination-per-page select:focus {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(233, 89, 80, 0.4);
    box-shadow: 0 0 0 4px rgba(233, 89, 80, 0.1), 0 14px 28px rgba(79, 36, 108, 0.1);
}

.opportunities-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl) 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.pagination-btn.active {
    background: var(--text-primary);
    color: var(--text-white);
    font-weight: 700;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-prev,
.pagination-next {
    width: auto;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--border-primary);
    background: var(--bg-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    gap: var(--space-xs);
    color: var(--text-primary);
}

.pagination-prev:hover:not(.disabled),
.pagination-next:hover:not(.disabled) {
    border-color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.pagination-prev.disabled,
.pagination-next.disabled {
    color: var(--text-muted);
    border-color: var(--border-secondary);
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 36px;
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    user-select: none;
}

@media (max-width: 768px) {
    .opportunities-results-bar {
        flex-direction: column;
        text-align: center;
    }
    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: var(--text-xs);
    }
    .pagination-prev,
    .pagination-next {
        width: auto;
        padding: 0.4rem 1rem;
    }
}

/* Job Detail Card */
.job-detail-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.job-detail-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-detail-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.job-detail-title-block {
    flex: 1;
    min-width: 0;
}

.job-detail-title {
    margin: 0 0 0.25rem 0;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.job-detail-company {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.job-detail-dot {
    color: var(--text-muted);
}

.job-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 999px;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.job-detail-badge i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.job-detail-section {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.job-detail-section-title {
    margin: 0 0 0.5rem 0;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.job-detail-section-title i {
    color: var(--primary-color);
}

.job-detail-desc {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--text-secondary);
}

.job-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.job-detail-info {
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    text-align: center;
}

.job-detail-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.job-detail-value {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.job-detail-status {
    color: var(--success-color);
}

.job-detail-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-secondary);
}

.job-detail-btn-save {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.job-detail-btn-save:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(138, 58, 185, 0.05);
}

.job-detail-btn-save .fas.fa-bookmark {
    color: var(--accent-color);
}

.job-detail-btn-apply {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    font-weight: 700;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(138, 58, 185, 0.25);
}

.job-detail-btn-apply:hover {
    box-shadow: 0 6px 20px rgba(138, 58, 185, 0.35);
    opacity: 0.95;
}

@media (max-width: 480px) {
    .job-detail-grid {
        grid-template-columns: 1fr;
    }
    .job-detail-top {
        flex-direction: column;
        text-align: center;
    }
    .job-detail-actions {
        flex-direction: column;
    }
    .job-detail-btn-save {
        justify-content: center;
    }
}

/* Saved Jobs Section */
.saved-jobs-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-secondary);
}

.saved-jobs-empty i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.saved-jobs-empty h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: var(--text-xl);
}

.saved-jobs-empty p {
    max-width: 28rem;
    margin: 0 auto;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.saved-job-card {
    background: #ffffff;
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.saved-job-card:hover {
    border-color: rgba(138, 58, 185, 0.2);
    box-shadow: var(--shadow-light);
}

.saved-job-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.saved-job-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.saved-job-info {
    flex: 1;
    min-width: 0;
}

.saved-job-title {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saved-job-company {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.saved-job-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.saved-job-remove:hover {
    background: rgba(253, 29, 29, 0.08);
    color: var(--secondary-color);
}

.saved-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.saved-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.saved-job-meta i {
    color: var(--primary-color);
    font-size: 0.65rem;
}

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

.saved-job-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-primary);
    background: #ffffff;
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saved-job-btn-view:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.saved-job-btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saved-job-btn-apply:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(138, 58, 185, 0.3);
}

.saved-job-expired {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--text-xs);
    color: var(--error-color);
    font-weight: 600;
}

/* ============================================
   Dashboard Casting Cards - Themed
   ============================================ */
.dashboard-casting-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 24px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 35px rgba(32, 18, 62, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-casting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--instagram-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-casting-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(32, 18, 62, 0.12);
    border-color: rgba(233, 89, 80, 0.15);
}

.dashboard-casting-card:hover::before {
    opacity: 1;
}

.dashboard-casting-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.dashboard-casting-info {
    min-width: 0;
    flex: 1;
}

.dashboard-casting-title {
    margin: 0 0 0.4rem 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #15223b;
    line-height: 1.25;
}

.dashboard-casting-company {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.92rem;
    color: #52607a;
}

.dashboard-casting-agency {
    font-weight: 700;
    color: #223354;
}

.dashboard-casting-dot {
    color: #98a3b8;
}

.dashboard-casting-type {
    color: #6f7fa3;
}

.dashboard-casting-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--instagram-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(233, 89, 80, 0.2);
}

.dashboard-casting-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    margin-bottom: 1rem;
    color: #445373;
    font-size: 0.92rem;
}

.dashboard-casting-facts span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dashboard-casting-facts i {
    color: #6f7fa3;
    font-size: 0.85rem;
}

.dashboard-casting-desc {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 0 1rem 0;
    color: #31415f;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dashboard-casting-desc > i {
    color: #6f7fa3;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.dashboard-casting-desc > span {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dashboard-casting-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-casting-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(131, 58, 180, 0.06);
    color: #5a4c86;
    font-size: 0.85rem;
    font-weight: 600;
}

.dashboard-casting-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(131, 58, 180, 0.06);
}

.dashboard-casting-status {
    display: flex;
    align-items: center;
}

.dashboard-status-applied {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.85rem;
}

.dashboard-status-expired {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(252, 176, 69, 0.1);
    color: #e65100;
    font-weight: 700;
    font-size: 0.85rem;
}

.dashboard-casting-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dashboard-btn-save {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid rgba(131, 58, 180, 0.15);
    background: transparent;
    color: #8a3ab9;
    font-size: 1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.25s ease;
}

.dashboard-btn-save:hover {
    background: rgba(131, 58, 180, 0.08);
    border-color: #8a3ab9;
    transform: scale(1.08);
}

.dashboard-btn-save.saved {
    background: var(--instagram-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(233, 89, 80, 0.25);
}

/* Dashboard Empty State */
.dashboard-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 24px;
    color: #52607a;
}

.dashboard-empty-state i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.actor-media-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-secondary);
}

.actor-media-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1px;
    background: rgba(111, 127, 163, 0.38);
    border: 1px solid rgba(111, 127, 163, 0.38);
    border-radius: 0;
    overflow: hidden;
}

.actor-media-item {
    margin: 0;
    display: block;
    background: var(--bg-secondary);
    width: 100%;
}

.actor-media-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    background: #f4f5f7;
}

.actor-media-item figcaption {
    display: none;
}

.actor-media-empty {
    grid-column: 1 / -1;
    min-height: 13rem;
    padding: var(--space-lg);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border: 0;
    border-radius: 0;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-empty-state h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #15223b;
}

.dashboard-empty-state p {
    margin: 0;
    font-size: 0.95rem;
    color: #6f7fa3;
}

/* ============================================
   My Applications Tab - Naukri-style Split
   ============================================ */

/* Stats header */
.app-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.1rem 1.5rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(131,58,180,0.08);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(32,18,62,0.05);
}

.app-status-header-left h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #15223b;
}

.app-status-header-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.app-stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 2rem;
    border-left: 1px solid #e2e8f0;
}

.app-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #15223b;
    line-height: 1;
}

.app-stat-label {
    font-size: 0.78rem;
    color: #6f7fa3;
    line-height: 1.3;
    max-width: 70px;
}

/* Filter pills */
.app-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.app-pill {
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1.5px solid #d0d7e3;
    background: transparent;
    color: #445373;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-pill:hover {
    border-color: #8a3ab9;
    color: #8a3ab9;
}

.app-pill.active {
    background: var(--instagram-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(233,89,80,0.2);
}

/* Split layout */
.app-split-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
    align-items: start;
}

/* Left list panel */
.app-list-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(131,58,180,0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 28px rgba(32,18,62,0.06);
}

.app-list-card {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(131,58,180,0.06);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 0;
}

.app-list-card:last-child {
    border-bottom: none;
}

.app-list-card:hover {
    background: rgba(131,58,180,0.03);
}

.app-list-card.selected {
    background: linear-gradient(135deg, rgba(233,89,80,0.06) 0%, rgba(131,58,180,0.06) 100%);
    border-left: 3px solid #e95950;
    box-shadow: 0 8px 28px rgba(233,89,80,0.15), 0 2px 8px rgba(32,18,62,0.08);
    transform: translateX(4px) scale(1.01);
    z-index: 1;
    border-radius: 0 14px 14px 0;
}

.app-list-card.selected .app-list-card-title {
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-list-card.selected .app-list-card-logo {
    box-shadow: 0 6px 18px rgba(233,89,80,0.35);
    transform: scale(1.08);
}

.app-list-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.app-list-card-info {
    min-width: 0;
    flex: 1;
}

.app-list-card-title {
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #15223b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-card-company {
    font-size: 0.82rem;
    color: #52607a;
    font-weight: 600;
}

.app-list-card-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--instagram-primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
}

.app-list-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.app-list-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.app-list-status-applied        { background: rgba(76,175,80,0.1);  color: #2e7d32; }
.app-list-status-under-review   { background: rgba(252,176,69,0.1); color: #e65100; }
.app-list-status-shortlisted    { background: rgba(131,58,180,0.1); color: #6d28d9; }
.app-list-status-locked         { background: rgba(33,150,243,0.1); color: #1565c0; }
.app-list-status-rejected       { background: rgba(244,67,54,0.1);  color: #c62828; }

.app-list-card-time {
    font-size: 0.78rem;
    color: #7f8aa3;
}

/* Right detail panel */
.app-detail-panel {
    border: 1px solid rgba(131,58,180,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 28px rgba(32,18,62,0.06);
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    position: sticky;
    top: 80px;
    scroll-behavior: smooth;
}

.app-detail-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    color: #6f7fa3;
}

.app-detail-placeholder i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-detail-placeholder h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #15223b;
}

.app-detail-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    color: #7f8aa3;
}

.app-detail-content {
    padding: 1.5rem;
}

.app-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.app-detail-header-info {
    flex: 1;
    min-width: 0;
}

.app-detail-title {
    margin: 0 0 0.3rem 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #15223b;
    line-height: 1.3;
    word-break: break-word;
}

.app-detail-company {
    font-size: 0.95rem;
    font-weight: 700;
    color: #223354;
    margin-bottom: 0.5rem;
}

.app-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-size: 0.82rem;
    color: #52607a;
}

.app-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.app-detail-meta i {
    color: #6f7fa3;
    margin-right: 0.2rem;
}

.app-detail-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--instagram-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(233,89,80,0.2);
}

.app-detail-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(131,58,180,0), rgba(131,58,180,0.18), rgba(253,29,29,0.18), rgba(131,58,180,0));
    margin: 1.25rem 0;
}

.app-detail-section {
    margin-bottom: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-light);
}

.app-detail-section-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Timeline */
.app-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.app-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.app-timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid #d0d7e3;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    color: #d0d7e3;
    z-index: 1;
    transition: all 0.25s ease;
}

.app-timeline-step.done .app-timeline-dot {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.app-timeline-step.rejected .app-timeline-dot {
    background: #c62828;
    border-color: #c62828;
    color: #fff;
}

.app-timeline-connector {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #d0d7e3;
    z-index: 0;
}

.app-timeline-connector.done {
    background: #2e7d32;
}

.app-timeline-label {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #15223b;
    text-align: center;
}

.app-timeline-sub {
    font-size: 0.75rem;
    color: #6f7fa3;
    text-align: center;
    margin-top: 0.15rem;
}

/* Activity boxes */
.app-activity-grid {
    display: flex;
    gap: 1px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.app-activity-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fafbfc;
}

.app-activity-box + .app-activity-box {
    border-left: 1px solid #e2e8f0;
}

.app-activity-number {
    font-size: 2rem;
    font-weight: 800;
    color: #15223b;
    line-height: 1;
}

.app-activity-label {
    font-size: 0.8rem;
    color: #52607a;
    line-height: 1.4;
}

/* Job detail info grid */
.app-detail-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 1rem 0;
}

.app-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.app-detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    min-height: 84px;
    justify-content: center;
}

.app-detail-info-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.app-detail-info-val {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
    .app-split-layout {
        grid-template-columns: 1fr;
    }
    .app-detail-panel {
        position: static;
    }
    .app-status-header-right {
        gap: 1rem;
    }
}

/* ============================================
   Application Detail Modal
   ============================================ */
.app-detail-modal-content {
    width: 100%;
    max-width: 680px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid rgba(131, 58, 180, 0.14);
    box-shadow: 0 24px 64px rgba(131, 58, 180, 0.18), 0 8px 24px rgba(0,0,0,0.12);
}

.app-detail-modal-header {
    background: var(--instagram-primary);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    padding: 1.5rem 1.75rem 1.25rem;
    position: relative;
}

.app-detail-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: var(--text-white);
    font-size: 0.95rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.app-detail-modal-close:hover {
    background: rgba(255,255,255,0.28);
    color: var(--text-white);
    transform: rotate(90deg);
}

.app-modal-job-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-right: 2.5rem;
}

.app-modal-job-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.18);
    color: var(--text-white);
    font-weight: 800;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 24px rgba(32, 18, 62, 0.18);
    backdrop-filter: blur(8px);
}

.app-modal-job-info {
    flex: 1;
    min-width: 0;
}

.app-modal-job-title {
    margin: 0 0 0.2rem 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.3;
}

.app-modal-job-company {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.4rem;
}

.app-modal-job-type {
    font-weight: 400;
    color: rgba(255,255,255,0.72);
}

.app-modal-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.86);
}

.app-modal-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.app-modal-job-meta i {
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
}

.app-modal-status-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.app-detail-modal-body {
    overflow-y: auto;
    padding: 1.5rem 1.75rem;
    flex: 1;
    background:
        radial-gradient(circle at top right, rgba(252,176,69,0.12), transparent 28%),
        linear-gradient(180deg, rgba(255,241,245,0.55) 0%, rgba(255,255,255,0.95) 40%, rgba(250,250,250,0.96) 100%);
}

/* Application list panel - full width single column */
.app-list-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(131,58,180,0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 28px rgba(32,18,62,0.06);
}

/* ============================================
   Post New Casting Requirement Modal - Themed
   ============================================ */

.req-modal-content {
    width: 100%;
    max-width: 620px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    box-shadow: 0 24px 64px rgba(131, 58, 180, 0.18), 0 8px 24px rgba(0,0,0,0.12);
}

/* ---- Header ---- */
.req-modal-header {
    background: var(--instagram-primary);
    padding: 1.6rem 1.75rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    flex-shrink: 0;
}

.req-modal-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.req-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.req-modal-title {
    margin: 0 0 0.15rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.req-modal-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.78);
    font-weight: 400;
}

.req-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.req-modal-close:hover {
    background: rgba(255,255,255,0.35);
    transform: rotate(90deg);
}

/* ---- Scrollable Body ---- */
.req-modal-body {
    overflow-y: auto;
    padding: 1.5rem 1.75rem 1.75rem;
    background: #fafbff;
    flex: 1;
}

/* ---- Section dividers ---- */
.req-section {
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 0.75rem;
}

.req-section-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ---- Form fields ---- */
.req-form-group {
    margin-bottom: 1rem;
}

.req-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #223354;
    margin-bottom: 0.35rem;
}

.req-form-group input[type="text"],
.req-form-group input[type="number"],
.req-form-group input[type="date"],
.req-form-group textarea,
.req-form-group select {
    width: 100%;
    padding: 0.62rem 0.9rem;
    border: 1.5px solid rgba(131, 58, 180, 0.14);
    border-radius: 10px;
    background: #f8f6ff;
    font-size: 0.9rem;
    color: #15223b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.req-form-group input[type="text"]::placeholder,
.req-form-group input[type="number"]::placeholder,
.req-form-group textarea::placeholder {
    color: #aab0c4;
}

.req-form-group input:focus,
.req-form-group textarea:focus,
.req-form-group select:focus {
    border-color: #833ab4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(131, 58, 180, 0.1);
}

.req-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.req-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

/* ---- Language checkboxes ---- */
.req-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.req-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.9rem;
    border: 1.5px solid rgba(131, 58, 180, 0.18);
    border-radius: 999px;
    background: #f8f6ff;
    font-size: 0.84rem;
    font-weight: 600;
    color: #52607a;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.req-checkbox-item:has(input:checked) {
    background: var(--instagram-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.25);
}

.req-checkbox-item input[type="checkbox"] {
    display: none;
}

.req-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* ---- Submit button ---- */
.req-submit-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--instagram-primary);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(131, 58, 180, 0.3);
    letter-spacing: 0.02em;
}

.req-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(131, 58, 180, 0.38);
}

.req-submit-btn:active {
    transform: translateY(0);
}

.req-submit-btn-secondary {
    background: linear-gradient(135deg, #eef2ff 0%, #f7eaff 100%);
    color: #5c447f;
    border: 1.5px solid rgba(131, 58, 180, 0.18);
    box-shadow: none;
}

.req-submit-btn-secondary:hover {
    opacity: 1;
    box-shadow: 0 10px 24px rgba(131, 58, 180, 0.12);
}

@media (max-width: 640px) {
    .req-modal-content {
        border-radius: 18px;
        max-height: 96vh;
    }
    .req-form-row {
        grid-template-columns: 1fr;
    }
    .req-modal-body {
        padding: 1.1rem 1.1rem 1.25rem;
    }
    .req-form-actions {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Post New Casting Requirement Modal - Themed
   ============================================ */

.req-modal-content {
    width: 100%;
    max-width: 620px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    box-shadow: 0 24px 64px rgba(131, 58, 180, 0.18), 0 8px 24px rgba(0,0,0,0.12);
}

/* ---- Header ---- */
.req-modal-header {
    background: var(--instagram-primary);
    padding: 1.6rem 1.75rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    flex-shrink: 0;
}

.req-modal-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.req-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.req-modal-title {
    margin: 0 0 0.15rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.req-modal-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.78);
    font-weight: 400;
}

.req-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.req-modal-close:hover {
    background: rgba(255,255,255,0.35);
    transform: rotate(90deg);
}

/* ---- Scrollable Body ---- */
.req-modal-body {
    overflow-y: auto;
    padding: 1.5rem 1.75rem 1.75rem;
    background: #fafbff;
    flex: 1;
}

/* ---- Section dividers ---- */
.req-section {
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 0.75rem;
}

.req-section-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--instagram-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ---- Form fields ---- */
.req-form-group {
    margin-bottom: 1rem;
}

.req-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #223354;
    margin-bottom: 0.35rem;
}

.req-form-group input[type="text"],
.req-form-group input[type="number"],
.req-form-group input[type="date"],
.req-form-group textarea,
.req-form-group select {
    width: 100%;
    padding: 0.62rem 0.9rem;
    border: 1.5px solid rgba(131, 58, 180, 0.14);
    border-radius: 10px;
    background: #f8f6ff;
    font-size: 0.9rem;
    color: #15223b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.req-form-group input[type="text"]::placeholder,
.req-form-group input[type="number"]::placeholder,
.req-form-group textarea::placeholder {
    color: #aab0c4;
}

.req-form-group input:focus,
.req-form-group textarea:focus,
.req-form-group select:focus {
    border-color: #833ab4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(131, 58, 180, 0.1);
}

.req-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.req-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

/* ---- Language checkboxes ---- */
.req-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.req-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.9rem;
    border: 1.5px solid rgba(131, 58, 180, 0.18);
    border-radius: 999px;
    background: #f8f6ff;
    font-size: 0.84rem;
    font-weight: 600;
    color: #52607a;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.req-checkbox-item:has(input:checked) {
    background: var(--instagram-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.25);
}

.req-checkbox-item input[type="checkbox"] {
    display: none;
}

/* ---- Submit button ---- */
.req-submit-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--instagram-primary);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(131, 58, 180, 0.3);
    letter-spacing: 0.02em;
}

.req-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(131, 58, 180, 0.38);
}

.req-submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .req-modal-content {
        border-radius: 18px;
        max-height: 96vh;
    }
    .req-form-row {
        grid-template-columns: 1fr;
    }
    .req-modal-body {
        padding: 1.1rem 1.1rem 1.25rem;
    }
}

/* ============================================
   Applications Received Tab - Themed Cards
   ============================================ */

.recv-app-card {
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.09);
    border-radius: 18px;
    padding: 1.2rem 1.3rem 1rem;
    transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
    box-shadow: 0 2px 12px rgba(32, 18, 62, 0.05);
}

.recv-app-card:hover {
    border-color: rgba(131, 58, 180, 0.22);
    box-shadow: 0 8px 28px rgba(131, 58, 180, 0.1);
    transform: translateY(-2px);
}

/* ---- Top row: avatar + info + status ---- */
.recv-app-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.recv-app-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--instagram-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(131, 58, 180, 0.22);
}

.recv-app-info {
    flex: 1;
    min-width: 0;
}

.recv-app-name {
    margin: 0 0 0.18rem;
    font-size: 1rem;
    font-weight: 800;
    color: #15223b;
}

.recv-app-role {
    font-size: 0.84rem;
    color: #52607a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recv-app-role span {
    color: #8a3ab9;
    font-weight: 700;
}

.recv-app-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.recv-fact {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(131, 58, 180, 0.06);
    color: #52607a;
    font-size: 0.78rem;
    font-weight: 600;
}

.recv-fact i {
    color: #8a3ab9;
    font-size: 0.72rem;
}

.recv-app-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.recv-app-time {
    font-size: 0.76rem;
    color: #8a97b0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ---- Footer: status controls + view button ---- */
.recv-app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(131, 58, 180, 0.07);
    flex-wrap: wrap;
}

.recv-status-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recv-status-select {
    padding: 0.42rem 0.75rem;
    border: 1.5px solid rgba(131, 58, 180, 0.18);
    border-radius: 10px;
    background: #f8f6ff;
    color: #15223b;
    font-size: 0.83rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.recv-status-select:focus {
    border-color: #833ab4;
    box-shadow: 0 0 0 3px rgba(131, 58, 180, 0.1);
}

.recv-update-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 1rem;
    background: var(--instagram-primary);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.25);
}

.recv-update-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(131, 58, 180, 0.32);
}

.recv-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 1.1rem;
    background: transparent;
    border: 1.5px solid rgba(131, 58, 180, 0.3);
    border-radius: 10px;
    color: #8a3ab9;
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recv-view-btn:hover {
    background: rgba(131, 58, 180, 0.07);
    border-color: #833ab4;
}

.shortlist-group {
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.1);
    border-radius: 22px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 4px 18px rgba(32, 18, 62, 0.05);
    margin-bottom: 1rem;
}

.recruiter-applications-group {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(254, 248, 255, 0.98));
    border-radius: 28px;
    padding: 1.25rem 1.25rem 1.15rem;
    box-shadow: 0 18px 45px rgba(32, 18, 62, 0.08);
}

.recruiter-applications-group-header {
    align-items: center;
}

.recruiter-applications-group-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(233, 89, 80, 0.08);
    color: #b24753;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recruiter-applications-group-list {
    gap: 0.95rem;
}

.shortlist-group-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(131, 58, 180, 0.08);
}

.shortlist-group-title {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    font-weight: 800;
    color: #15223b;
}

.shortlist-group-subtitle {
    margin: 0;
    font-size: 0.84rem;
    color: #6b7690;
    font-weight: 600;
}

.shortlist-group-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(131,58,180,0.1);
    color: #6d28d9;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.shortlist-group-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (max-width: 600px) {
    .recv-app-top {
        flex-wrap: wrap;
    }
    .recv-app-right {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    .recv-app-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .recv-status-controls {
        width: 100%;
    }
    .recv-view-btn {
        width: 100%;
        justify-content: center;
    }
    .shortlist-group-header {
        flex-direction: column;
    }
}

/* ============================================
   Edit Profile Button & Bio Display
   ============================================ */

.btn-edit-profile-casting {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(131, 58, 180, 0.3);
    background: transparent;
    color: #8a3ab9;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-edit-profile-casting:hover {
    background: rgba(131, 58, 180, 0.07);
    border-color: #833ab4;
}

.agency-bio {
    font-size: 0.84rem;
    color: #52607a;
    line-height: 1.55;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(131, 58, 180, 0.07);
    margin-top: 0.25rem;
    font-style: italic;
}

/* ============================================
   Pagination Bar
   ============================================ */

.pagination-info {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a97b0;
    margin-left: auto;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 1.1rem 0 0.3rem;
    flex-wrap: wrap;
}

.pagination-bar.hidden {
    display: none !important;
}

.pg-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.55rem;
    border-radius: 10px;
    border: 1.5px solid rgba(131, 58, 180, 0.15);
    background: #fff;
    color: #52607a;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    font-family: inherit;
}

.pg-btn:hover:not(:disabled):not(.active) {
    border-color: #833ab4;
    color: #833ab4;
    background: rgba(131, 58, 180, 0.05);
}

.pg-btn.active {
    background: var(--instagram-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.pg-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pg-prev, .pg-next {
    font-size: 0.75rem;
}

.pg-ellipsis {
    min-width: 28px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #aab0c4;
    font-size: 0.9rem;
    font-weight: 700;
    pointer-events: none;
}

.portfolio-preview-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #2f1f3c;
}

.portfolio-preview-hero {
    background: linear-gradient(135deg, #5b1f76, #8a3ab9 52%, #c266be);
    border-radius: 24px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    color: #fff;
}

.portfolio-preview-hero-copy {
    flex: 1;
}

.portfolio-preview-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.portfolio-preview-name {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.1;
}

.portfolio-preview-meta {
    margin: 0.7rem 0 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.portfolio-preview-muted {
    margin: 0.8rem 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.84);
}

.portfolio-preview-photo-frame {
    width: 180px;
    min-width: 180px;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
}

.portfolio-preview-photo,
.portfolio-preview-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-preview-photo-placeholder,
.portfolio-preview-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.portfolio-preview-content-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1rem;
}

.portfolio-preview-panel {
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.12);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 22px rgba(131, 58, 180, 0.08);
}

.portfolio-preview-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b2d73;
    margin-bottom: 0.8rem;
}

.portfolio-preview-detail-list {
    display: grid;
    gap: 0.8rem;
}

.portfolio-preview-detail-list > div,
.portfolio-preview-link-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #3c2b48;
}

.portfolio-preview-label {
    font-weight: 700;
    color: #6b2d73;
    min-width: 90px;
}

.portfolio-preview-text {
    margin: 0 0 1rem;
    color: #3c2b48;
    line-height: 1.6;
    font-size: 0.95rem;
}

.portfolio-preview-links-panel {
    display: grid;
    gap: 0.75rem;
}

.portfolio-preview-gallery-section {
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.12);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 22px rgba(131, 58, 180, 0.08);
}

.portfolio-preview-gallery-copy {
    margin: -0.25rem 0 0.9rem;
    color: #5e516a;
    font-size: 0.9rem;
}

.portfolio-preview-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.portfolio-preview-gallery-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff9fd;
    border: 1px solid rgba(131, 58, 180, 0.12);
}

.portfolio-preview-gallery-card .portfolio-preview-gallery-image {
    height: 220px;
}

.portfolio-preview-gallery-caption {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b2d73;
}

/* ============================================
   Subscription & Payment Pages
   ============================================ */

.subscription-page,
.payment-gateway-page {
    min-height: 100vh;
    padding: 6rem 0 3rem;
    background:
        radial-gradient(circle at top left, rgba(252, 176, 69, 0.2), transparent 34%),
        radial-gradient(circle at top right, rgba(131, 58, 180, 0.18), transparent 32%),
        linear-gradient(180deg, #fff8ef 0%, #fff 38%, #fff7fb 100%);
}

.subscription-page-shell,
.payment-gateway-shell {
    display: grid;
    gap: 1.5rem;
}

.subscription-page-hero,
.payment-gateway-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(138, 58, 185, 0.12);
    box-shadow: 0 20px 50px rgba(120, 34, 124, 0.12);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
}

.subscription-page-hero {
    padding: 2rem;
}

.subscription-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(138, 58, 185, 0.08);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subscription-page-copy,
.payment-plan-copy {
    max-width: 46rem;
    color: var(--text-secondary);
}

.subscription-page-copy {
    font-style: italic;
    line-height: 1.75;
}

.subscription-page-actions .actor-signup-back {
    color: var(--text-white);
    border: none;
    background: var(--instagram-primary);
    box-shadow: 0 14px 28px rgba(131, 58, 180, 0.2);
}

.subscription-page-actions .actor-signup-back:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(131, 58, 180, 0.24);
    opacity: 0.96;
}

.subscription-admin-plans {
    display: grid;
    gap: 1rem;
}

.subscription-admin-section {
    display: grid;
    gap: 1rem;
}

.subscription-admin-section.tab-content {
    display: none;
}

.subscription-admin-section.tab-content.active {
    display: grid;
}

.subscription-admin-section + .subscription-admin-section {
    margin-top: 1.75rem;
}

.subscription-admin-section-head h3 {
    margin: 0.35rem 0 0.25rem;
    color: var(--text-primary);
}

.subscription-admin-section-head p {
    margin: 0;
    color: var(--text-secondary);
}

.subscription-admin-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,247,255,0.96) 100%);
    border: 1px solid rgba(138, 58, 185, 0.12);
    box-shadow: 0 16px 36px rgba(131, 58, 180, 0.08);
}

.subscription-admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.subscription-admin-card-head h3 {
    margin-bottom: 0;
}

.subscription-admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.subscription-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.subscription-admin-field {
    display: grid;
    gap: 0.45rem;
}

.subscription-admin-field-full {
    grid-column: 1 / -1;
}

.subscription-admin-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.subscription-admin-field input,
.subscription-admin-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(138, 58, 185, 0.14);
    background: rgba(255, 255, 255, 0.94);
    font: inherit;
    color: var(--text-primary);
}

.subscription-admin-field textarea {
    resize: vertical;
}

.subscription-admin-actions {
    display: flex;
    justify-content: flex-end;
}

.subscription-admin-save-btn {
    min-width: 160px;
    justify-content: center;
}

.verification-admin-card-head {
    align-items: center;
}

.verification-admin-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.verification-admin-lists {
    display: grid;
    gap: 1rem;
}

.verification-admin-list-card {
    padding: 1.1rem;
}

.verification-admin-list-head h3 {
    margin: 0.3rem 0 0;
    color: var(--text-primary);
}

.verification-admin-name-list {
    display: grid;
    gap: 0.65rem;
}

.verification-admin-name-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(138, 58, 185, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    text-align: left;
}

.verification-admin-name-item:hover {
    transform: translateY(-1px);
    border-color: rgba(138, 58, 185, 0.26);
    box-shadow: 0 10px 20px rgba(131, 58, 180, 0.08);
}

.verification-admin-name-item.is-active {
    border-color: rgba(138, 58, 185, 0.38);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,243,255,0.96) 100%);
    box-shadow: 0 14px 26px rgba(131, 58, 180, 0.12);
}

.verification-admin-name-item__label {
    font-weight: 700;
}

.verification-admin-name-item__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.verification-admin-name-item__status.is-verified {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.verification-admin-name-item__status.is-pending {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
}

.verification-admin-empty-copy {
    margin: 0;
    color: var(--text-secondary);
}

.verification-admin-card--detail {
    min-height: 100%;
}

.verification-admin-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.35rem 0 0;
}

.verification-admin-copy {
    margin: 0.45rem 0 0;
    color: var(--text-secondary);
}

.verification-admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.verification-admin-status.is-verified {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.verification-admin-status.is-pending {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
}

.verification-admin-value {
    min-height: 52px;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(138, 58, 185, 0.1);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-primary);
    font-weight: 500;
}

.verification-admin-value--multiline {
    min-height: 88px;
    white-space: pre-wrap;
}

.verification-admin-card--empty {
    text-align: center;
}

body.subscription-admin-overlay-active {
    cursor: progress;
}

.subscription-admin-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4200;
    pointer-events: none;
}

.subscription-admin-overlay__card {
    width: auto;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    text-align: center;
    color: var(--text-white);
    background: rgba(24, 14, 38, 0.88);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 48px rgba(10, 6, 25, 0.32);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
}

.subscription-admin-overlay__spinner {
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.12) 0deg,
        rgba(255, 255, 255, 0.12) 36deg,
        rgba(252, 176, 69, 0.95) 54deg,
        rgba(255, 255, 255, 0.18) 108deg,
        rgba(233, 89, 80, 0.85) 162deg,
        rgba(255, 255, 255, 0.14) 216deg,
        rgba(138, 58, 185, 0.92) 270deg,
        rgba(255, 255, 255, 0.12) 360deg
    );
    animation: spin 1.05s linear infinite;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03);
}

.subscription-admin-overlay__spinner::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(20, 11, 34, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.subscription-admin-overlay__label {
    margin-top: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 800;
    color: rgba(255,255,255,0.86);
}

.subscription-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.subscription-plan-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,244,248,0.94) 100%);
    border: 1px solid rgba(138, 58, 185, 0.12);
    box-shadow: 0 16px 38px rgba(131, 58, 180, 0.1);
}

.subscription-plan-card.is-selected {
    border-color: rgba(253, 29, 29, 0.24);
    box-shadow: 0 18px 42px rgba(253, 29, 29, 0.16);
}

.subscription-plan-card.is-active {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,255,249,0.96) 100%);
}

.subscription-plan-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.subscription-plan-accent {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-dark);
}

.subscription-plan-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.subscription-plan-title {
    margin-bottom: 0;
}

.subscription-plan-description {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.subscription-plan-features {
    display: grid;
    gap: 0.75rem;
}

.subscription-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-primary);
}

.subscription-plan-feature i {
    color: var(--success-color);
    margin-top: 0.15rem;
}

.subscription-plan-cta,
.subscription-preview-cta,
.subscription-profile-lock-cta {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #fd1d1d 0%, #fcb045 100%);
    box-shadow: 0 12px 24px rgba(253, 29, 29, 0.22);
}

.subscription-preview-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1) 0%, rgba(252, 176, 69, 0.14) 100%);
    border: 1px solid rgba(138, 58, 185, 0.14);
}

.subscription-preview-banner h3,
.subscription-profile-lock h4 {
    margin-bottom: 0.2rem;
}

.subscription-preview-banner p,
.subscription-profile-lock p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.public-opportunity-card.is-preview {
    position: relative;
}

.subscription-blur-copy {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.subscription-blur-copy-inline {
    display: inline-block;
    min-width: 11rem;
}

.payment-gateway-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    padding: 2rem;
}

.payment-plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.payment-pricing-breakdown {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 245, 247, 0.95) 0%, rgba(255, 250, 240, 0.98) 100%);
    border: 1px solid rgba(138, 58, 185, 0.08);
}

.payment-pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.payment-pricing-row strong {
    color: var(--text-primary);
    font-size: 0.98rem;
}

.payment-pricing-row-total {
    padding-top: 0.65rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(138, 58, 185, 0.1);
    color: var(--primary-dark);
    font-weight: 700;
}

.payment-pricing-row-total strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.payment-plan-features {
    display: grid;
    gap: 0.75rem;
    padding-left: 1.2rem;
    color: var(--text-primary);
}

.payment-gateway-panel {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(250,250,250,0.96) 0%, rgba(255,245,247,0.96) 100%);
    border: 1px solid rgba(138, 58, 185, 0.1);
}

.payment-gateway-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.payment-gateway-method {
    display: grid;
    place-items: center;
    gap: 0.4rem;
    min-height: 5rem;
    border-radius: 1rem;
    border: 1px solid rgba(138, 58, 185, 0.12);
    background: #fff;
    color: var(--text-secondary);
}

.payment-gateway-method.is-active {
    border-color: rgba(253, 29, 29, 0.25);
    color: var(--secondary-dark);
}

.payment-gateway-form {
    display: grid;
    gap: 0.9rem;
}

.payment-gateway-field,
.payment-gateway-field-row {
    display: grid;
    gap: 0.5rem;
}

.payment-gateway-field-row {
    grid-template-columns: repeat(2, 1fr);
}

.payment-gateway-field label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.payment-gateway-field input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(138, 58, 185, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.payment-gateway-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.subscription-profile-lock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 238, 240, 0.92) 0%, rgba(255, 249, 236, 0.96) 100%);
    border: 1px solid rgba(253, 29, 29, 0.12);
}

.subscription-locked-media {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(247, 241, 250, 0.92) 0%, rgba(255, 248, 241, 0.96) 100%);
}

.subscription-media-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 4.5rem;
    color: rgba(138, 58, 185, 0.48);
    font-size: 1.25rem;
    filter: blur(1px);
}

@media (max-width: 900px) {
    .payment-gateway-card {
        grid-template-columns: 1fr;
    }

    .subscription-preview-banner,
    .subscription-profile-lock,
    .payment-gateway-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .subscription-admin-grid {
        grid-template-columns: 1fr;
    }
    .verification-admin-card-head {
        align-items: flex-start;
    }
    .verification-admin-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .payment-gateway-methods,
    .payment-gateway-field-row {
        grid-template-columns: 1fr;
    }

    .subscription-page,
    .payment-gateway-page {
        padding-top: 5rem;
    }
}

@media (max-width: 1024px) {
    .instagram-layout {
        grid-template-columns: 1fr;
        padding: 0 var(--space-md);
    }

    .left-sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .profile-card,
    .stats-card {
        width: 100%;
    }

    .content-tabs {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .tab-btn {
        flex: 1 1 48%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .dashboard,
    .actor-signup-page,
    .casting-signup-page,
    .production-signup-page,
    .subscription-page,
    .payment-gateway-page {
        padding-top: 96px;
    }

    .actor-signup-card,
    .actor-signup-shell .actor-signup-intro,
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .actor-signup-grid.two-column,
    .casting-form-grid,
    .actor-form-grid {
        grid-template-columns: 1fr;
    }

    .actor-signup-intro {
        text-align: left;
    }

    .actor-signup-actions {
        flex-direction: column;
        gap: var(--space-md);
    }

    .actor-signup-consent-card {
        padding: 1rem;
    }

    .profile-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .actor-signup-page .actor-signup-back {
        width: 100%;
    }
}

/* ============================================
   Posted Requirements Cards - Themed
   ============================================ */

#casting-requirements {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.req-list-card {
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.09);
    border-radius: 18px;
    padding: 1.2rem 1.3rem 1rem;
    transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
    box-shadow: 0 2px 12px rgba(32, 18, 62, 0.05);
}

.req-list-card:hover {
    border-color: rgba(131, 58, 180, 0.22);
    box-shadow: 0 8px 28px rgba(131, 58, 180, 0.1);
    transform: translateY(-2px);
}

.req-list-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.req-list-logo {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--instagram-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(131, 58, 180, 0.22);
}

.req-list-info {
    flex: 1;
    min-width: 0;
}

.req-list-title {
    margin: 0 0 0.18rem;
    font-size: 1rem;
    font-weight: 800;
    color: #15223b;
}

.req-list-role {
    font-size: 0.84rem;
    color: #8a3ab9;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.req-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    font-size: 0.78rem;
    color: #52607a;
}

.req-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.req-list-meta i {
    color: #8a3ab9;
    font-size: 0.72rem;
}

.req-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(131, 58, 180, 0.07);
    flex-wrap: wrap;
}

.req-list-date {
    font-size: 0.76rem;
    color: #8a97b0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.req-list-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.requirement-status-chip.requirement-status-chip-active {
    background: rgba(29, 208, 134, 0.12);
    color: #157a53;
}

.requirement-status-chip.requirement-status-chip-draft {
    background: rgba(252, 176, 69, 0.16);
    color: #935300;
}

.requirement-status-chip.requirement-status-chip-closed,
.requirement-status-chip.requirement-status-chip-expired {
    background: rgba(253, 29, 29, 0.12);
    color: #a32626;
}

.recv-view-btn.is-disabled {
    background: #fff6e8;
    color: #8a6a2f;
    border-color: rgba(252, 176, 69, 0.3);
}

/* ============================================
   Pagination Bar
   ============================================ */

.pagination-info {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a97b0;
    margin-left: auto;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 1.1rem 0 0.3rem;
    flex-wrap: wrap;
}

.pagination-bar.hidden {
    display: none !important;
}

.pg-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.55rem;
    border-radius: 10px;
    border: 1.5px solid rgba(131, 58, 180, 0.15);
    background: #fff;
    color: #52607a;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    font-family: inherit;
}

.pg-btn:hover:not(:disabled):not(.active) {
    border-color: #833ab4;
    color: #833ab4;
    background: rgba(131, 58, 180, 0.05);
}

.pg-btn.active {
    background: var(--instagram-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.pg-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pg-prev, .pg-next {
    font-size: 0.75rem;
}

.pg-ellipsis {
    min-width: 28px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #aab0c4;
    font-size: 0.9rem;
    font-weight: 700;
    pointer-events: none;
}

/* ============================================
   Posted Requirements Cards - Themed
   ============================================ */

#casting-requirements {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.req-list-card {
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.09);
    border-radius: 18px;
    padding: 1.2rem 1.3rem 1rem;
    transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
    box-shadow: 0 2px 12px rgba(32, 18, 62, 0.05);
}

.req-list-card:hover {
    border-color: rgba(131, 58, 180, 0.22);
    box-shadow: 0 8px 28px rgba(131, 58, 180, 0.1);
    transform: translateY(-2px);
}

.req-list-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.req-list-logo {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--instagram-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(131, 58, 180, 0.22);
}

.req-list-info {
    flex: 1;
    min-width: 0;
}

.req-list-title {
    margin: 0 0 0.18rem;
    font-size: 1rem;
    font-weight: 800;
    color: #15223b;
}

.req-list-role {
    font-size: 0.84rem;
    color: #8a3ab9;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.req-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    font-size: 0.78rem;
    color: #52607a;
}

.req-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.req-list-meta i {
    color: #8a3ab9;
    font-size: 0.72rem;
}

.req-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(131, 58, 180, 0.07);
    flex-wrap: wrap;
}

.req-list-date {
    font-size: 0.76rem;
    color: #8a97b0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.req-list-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================
   Logo Upload in Edit Profile Modal
   ============================================ */

.logo-upload-area {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.85rem 1rem;
    background: rgba(131, 58, 180, 0.04);
    border: 1.5px dashed rgba(131, 58, 180, 0.25);
    border-radius: 14px;
    transition: border-color 0.2s;
}

.logo-upload-area:focus-within {
    border-color: #833ab4;
}

.logo-upload-preview {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: var(--instagram-primary);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(131, 58, 180, 0.2);
}

.logo-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-initials {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.03em;
}

.logo-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.logo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    background: var(--instagram-primary);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 700;
    width: fit-content;
    transition: opacity 0.18s;
    user-select: none;
}

.logo-upload-btn:hover {
    opacity: 0.88;
}

.logo-upload-hint {
    font-size: 0.74rem;
    color: #8a97b0;
}

/* ============================================
   Logo Upload in Edit Profile Modal
   ============================================ */

.logo-upload-area {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.85rem 1rem;
    background: rgba(131, 58, 180, 0.04);
    border: 1.5px dashed rgba(131, 58, 180, 0.25);
    border-radius: 14px;
    transition: border-color 0.2s;
}

.logo-upload-area:focus-within {
    border-color: #833ab4;
}

.logo-upload-preview {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: var(--instagram-primary);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(131, 58, 180, 0.2);
}

.logo-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-initials {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.03em;
}

.logo-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.logo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    background: var(--instagram-primary);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 700;
    width: fit-content;
    transition: opacity 0.18s;
    user-select: none;
}

.logo-upload-btn:hover {
    opacity: 0.88;
}

.logo-upload-hint {
    font-size: 0.74rem;
    color: #8a97b0;
}

/* ============================================
   Actor Profile — Circular Progress Ring
   ============================================ */

.avatar-ring-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 110px;
    transform: rotate(-90deg);
}

.avatar-ring-track {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 6;
}

.avatar-ring-fill {
    fill: none;
    stroke: #22c55e;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease, stroke 0.4s ease;
}

/* Avatar image sits inside the ring */
#actor-avatar-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

#actor-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Percentage label below the ring */
.avatar-ring-pct {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #22c55e;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    z-index: 2;
}

/* Keep .profile-avatar centred — ring is wider than old placeholder */
.profile-avatar {
    top: 30px;
}

/* ============================================
   Actor Profile — Circular Progress Ring
   ============================================ */

.avatar-ring-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 110px;
    transform: rotate(-90deg);
}

.avatar-ring-track {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 6;
}

.avatar-ring-fill {
    fill: none;
    stroke: #22c55e;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease, stroke 0.4s ease;
}

/* Avatar image sits inside the ring */
#actor-avatar-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

#actor-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Percentage label below the ring */
.avatar-ring-pct {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #22c55e;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    z-index: 2;
}

/* Keep .profile-avatar centred — ring is wider than old placeholder */
.profile-avatar {
    top: 30px;
}

/* ============================================
   Actor Profile — Ring position fixes
   ============================================ */

/* Override profile-avatar position for the larger ring widget */
#actor-dashboard .profile-avatar {
    top: 25px;
}

/* Push profile-info down to clear the taller ring */
#actor-dashboard .profile-card .profile-info {
    padding-top: 70px;
}

/* ============================================
   Actor Profile — Ring position fixes
   ============================================ */

/* Override profile-avatar position for the larger ring widget */
#actor-dashboard .profile-avatar {
    top: 25px;
}

/* Push profile-info down to clear the taller ring */
#actor-dashboard .profile-card .profile-info {
    padding-top: 70px;
}

/* ============================================
   Ring wrap sizing fix
   ============================================ */
#actor-dashboard .avatar-ring-wrap {
    width: 110px !important;
    height: 120px !important;   /* extra room for % badge */
    min-width: 110px;
}

/* ============================================
   Ring wrap sizing fix
   ============================================ */
#actor-dashboard .avatar-ring-wrap {
    width: 110px !important;
    height: 120px !important;   /* extra room for % badge */
    min-width: 110px;
}

/* ============================================
   Actor Profile Card — Banner + Ring overrides
   ============================================ */

/* Taller banner so avatar floats higher and looks larger */
#actor-dashboard .profile-banner {
    height: 120px;
}

/* Push avatar down so it straddles the new banner bottom nicely */
#actor-dashboard .profile-avatar {
    top: 60px !important;
}

/* More room in profile-info to clear the taller ring + badge */
#actor-dashboard .profile-card .profile-info {
    padding-top: 16px !important;
}

#actor-dashboard .profile-details {
    width: 100%;
}

#actor-dashboard .profile-name.theme-profile-heading {
    text-align: left;
}

/* Larger inner photo circle */
#actor-avatar-img {
    width: 96px !important;
    height: 96px !important;
}

/* Enlarge the SVG ring to match */
#actor-dashboard .avatar-ring-svg {
    width: 122px !important;
    height: 122px !important;
}

#actor-dashboard .avatar-ring-wrap {
    width: 122px !important;
    height: 136px !important;
    min-width: 122px !important;
}

/* Ring track: white semi-transparent so it's visible on the gradient */
#actor-ring-fill ~ .avatar-ring-track,
.avatar-ring-track {
    stroke: rgba(255,255,255,0.35) !important;
}

/* Ring fill: colour controlled by JS per completeness */
#actor-ring-fill {
    filter: none;
}

/* Percentage badge */
.avatar-ring-pct {
    font-size: 0.78rem !important;
    padding: 2px 9px !important;
    bottom: -4px !important;
}

/* ============================================
   Actor Profile Card — Banner + Ring overrides
   ============================================ */

/* Taller banner so avatar floats higher and looks larger */
#actor-dashboard .profile-banner {
    height: 120px;
}

/* Push avatar down so it straddles the new banner bottom nicely */
#actor-dashboard .profile-avatar {
    top: 60px !important;
}

/* More room in profile-info to clear the taller ring + badge */
#actor-dashboard .profile-card .profile-info {
    padding-top: 16px !important;
}

#actor-dashboard .profile-details {
    width: 100%;
}

#actor-dashboard .profile-name.theme-profile-heading {
    text-align: left;
}

/* Larger inner photo circle */
#actor-avatar-img {
    width: 96px !important;
    height: 96px !important;
}

/* Enlarge the SVG ring to match */
#actor-dashboard .avatar-ring-svg {
    width: 122px !important;
    height: 122px !important;
}

#actor-dashboard .avatar-ring-wrap {
    width: 122px !important;
    height: 136px !important;
    min-width: 122px !important;
}

/* Ring track: white semi-transparent so it's visible on the gradient */
#actor-ring-fill ~ .avatar-ring-track,
.avatar-ring-track {
    stroke: rgba(255,255,255,0.35) !important;
}

/* ============================================
   Actor Profile Ring — colour controlled by JS
   ============================================ */

/* Fallback stroke; JS overrides per completeness */
#actor-ring-fill {
    stroke: #22c55e;
    filter: none;
}

/* Badge colour driven by JS inline style */
.avatar-ring-pct {
    color: inherit;
    border-color: rgba(0,0,0,0.08) !important;
}

/* Avatar image fills the full ring circle */
#actor-avatar-img {
    width: 110px !important;
    height: 110px !important;
    border: none !important;
    box-shadow: none !important;
}
#actor-avatar-img img {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* ============================================
   Casting / Production Profile — Ring widget
   ============================================ */

#casting-dashboard .profile-avatar {
    top: 60px !important;
}
#casting-dashboard .profile-card .profile-info {
    padding-top: 80px !important;
}
#casting-dashboard .avatar-ring-wrap {
    width: 122px !important;
    height: 136px !important;
    min-width: 122px !important;
}
#casting-dashboard .avatar-ring-svg {
    width: 122px !important;
    height: 122px !important;
}
#agency-avatar-display {
    width: 110px !important;
    height: 110px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: var(--bg-secondary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px;
    color: var(--entertainment-gold);
    position: relative;
    z-index: 1;
}
#agency-avatar-display img {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}
#agency-ring-fill {
    stroke: #22d3ee;
    filter: none;
}

.notification-center {
    position: relative;
}

.notification-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(131, 58, 180, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.notification-toggle i {
    font-size: 16px;
}

.notification-count {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    padding: 0 6px;
    background: var(--error-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-colored);
}

.notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(92vw, 320px);
    max-height: 460px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(131, 58, 180, 0.12);
    box-shadow: 0 20px 50px rgba(38, 38, 38, 0.18);
    z-index: 50;
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    .notification-panel {
        position: fixed;
        top: 72px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(92vw, 320px);
        z-index: 60;
    }
}

.notification-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(131, 58, 180, 0.08);
}

.notification-panel-header h3 {
    margin: 0;
    font-size: 18px;
}

.notification-panel-header p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.notification-mark-all {
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.notification-list {
    max-height: 388px;
    overflow-y: auto;
    padding: 8px;
}

.notification-empty {
    padding: 28px 18px;
    text-align: center;
    color: var(--text-secondary);
}

.notification-empty i {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.notification-item {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.notification-item:hover {
    background: rgba(131, 58, 180, 0.04);
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.05), rgba(252, 176, 69, 0.06));
}

.notification-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    background: #d0d7de;
}

.notification-item.unread .notification-dot {
    background: var(--entertainment-coral);
    box-shadow: 0 0 0 6px rgba(253, 29, 29, 0.08);
}

.notification-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.notification-body {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.notification-time {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.notification-read-btn {
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}


.message-panel {
    width: min(92vw, 320px);
}

@media (max-width: 768px) {
    .message-panel {
        position: fixed;
        top: 72px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(92vw, 320px);
        z-index: 60;
    }
}

.message-list {
    padding: 10px;
}

.message-thread-item {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    text-align: left;
    padding: 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.message-thread-item:hover {
    background: rgba(131, 58, 180, 0.05);
    transform: translateY(-1px);
}

.message-thread-item.unread {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.08), rgba(252, 176, 69, 0.08));
}

.message-thread-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    background: var(--instagram-primary);
    box-shadow: var(--shadow-colored);
}

.message-thread-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-thread-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.message-thread-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.message-thread-time,
.message-thread-subtitle,
.message-thread-preview {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.message-thread-subtitle,
.message-thread-preview {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.message-thread-badge {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    padding: 0 6px;
    background: var(--error-gradient);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-detail-action-row {
    display: flex;
    justify-content: flex-end;
}

.app-detail-message-btn {
    min-width: 150px;
}

.message-modal-content {
    width: min(92vw, 760px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 64px rgba(38, 38, 38, 0.18);
}

.message-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.08), rgba(252, 176, 69, 0.12));
    border-bottom: 1px solid rgba(131, 58, 180, 0.1);
}

.message-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.message-modal-header p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.message-thread-messages {
    flex: 1;
    min-height: 280px;
    max-height: 56vh;
    overflow-y: auto;
    padding: 22px 24px;
    background:
        radial-gradient(circle at top left, rgba(131, 58, 180, 0.06), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 255, 0.95));
}

.message-empty-state {
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    gap: 8px;
}

.message-empty-state i {
    font-size: 2rem;
    color: var(--text-muted);
}

.message-empty-state h4,
.message-empty-state p {
    margin: 0;
}

.message-bubble-row {
    display: flex;
    margin-bottom: 14px;
}

.message-bubble-row.own {
    justify-content: flex-end;
}

.message-bubble {
    max-width: min(84%, 420px);
    padding: 12px 14px;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    border: 1px solid rgba(131, 58, 180, 0.1);
    box-shadow: var(--shadow-light);
}

.message-bubble.own {
    border-radius: 18px 18px 6px 18px;
    color: #fff;
    background: var(--instagram-primary);
    border-color: transparent;
}

.message-bubble p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.message-bubble-time {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.message-bubble.own .message-bubble-time {
    color: rgba(255, 255, 255, 0.82);
}

.message-compose-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px 22px;
    border-top: 1px solid rgba(131, 58, 180, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.message-compose-input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(131, 58, 180, 0.16);
    border-radius: 999px;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.95);
}

.message-compose-input:focus {
    outline: none;
    border-color: rgba(131, 58, 180, 0.3);
    box-shadow: 0 0 0 4px rgba(131, 58, 180, 0.12);
}

.message-send-btn {
    flex-shrink: 0;
    min-width: 132px;
}

@media (max-width: 768px) {
    .notification-panel {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(92vw, 340px);
    }

    .message-panel {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(92vw, 320px);
    }

    .message-modal-content {
        width: min(96vw, 760px);
        max-height: 92vh;
    }

    .message-modal-header,
    .message-thread-messages,
    .message-compose-form {
        padding-left: 16px;
        padding-right: 16px;
    }

    .message-compose-form {
        flex-direction: column;
        align-items: stretch;
    }

    .message-send-btn {
        width: 100%;
    }
}

/* ============================================
   Global Responsive Pass
   ============================================ */

@media (min-width: 1400px) {
    .container {
        max-width: min(92%, 1320px);
    }

    .opportunities-page-shell {
        max-width: 1280px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: min(94%, 1120px);
    }

    .instagram-layout {
        grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .opportunities-page-layout {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    }

    .opportunities-results-pane {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .navbar {
        height: auto;
        min-height: 60px;
    }

    .navbar .container {
        min-height: 60px;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        gap: 0.75rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .landing-hero,
    .opportunities-page,
    .actor-signup-page,
    .casting-signup-page,
    .production-signup-page,
    .subscription-page,
    .payment-gateway-page,
    .dashboard {
        padding-top: calc(72px + var(--space-3xl));
    }

    .instagram-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .left-sidebar {
        position: static;
        top: auto;
        width: 100%;
        order: 0;
    }

    .main-content {
        width: 100%;
    }

    .content-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.45rem;
        padding: 0.45rem;
    }

    .tab-btn {
        min-width: 0;
        min-height: 56px;
        padding: 0.8rem 1rem;
    }

    .feed-header {
        align-items: stretch;
        gap: 1rem;
    }

    .feed-filters {
        width: 100%;
    }

    .opportunities-page {
        padding-top: calc(72px + var(--space-2xl));
    }

    .opportunities-page-header {
        gap: var(--space-xl);
    }

    .opportunities-page-layout {
        grid-template-columns: 1fr;
    }

    .opportunities-filter-pane {
        position: static;
        top: auto;
    }

    .opportunities-filter-card,
    .public-opportunity-card,
    .profile-card,
    .stats-card,
    .saved-job-card,
    .dashboard-casting-card,
    .recv-app-card,
    .req-list-card,
    .shortlist-group,
    .subscription-admin-card,
    .payment-gateway-card {
        border-radius: 22px;
    }

    .public-opportunity-top,
    .public-opportunity-footer,
    .dashboard-casting-top,
    .dashboard-casting-footer,
    .req-list-header,
    .req-list-footer,
    .shortlist-group-header,
    .profile-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        max-width: 100%;
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .hero-main-title,
    .section-title {
        word-break: break-word;
    }

    .nav-brand,
    .nav-actions,
    .header-auth-buttons {
        width: auto;
    }

    .header-auth-buttons {
        justify-content: flex-end;
        flex-wrap: nowrap;
        align-items: center;
    }

    .nav-actions {
        justify-content: flex-end;
        align-items: center;
        gap: 0.75rem;
    }

    .notification-center {
        margin-left: 0;
    }

    .user-types,
    .opportunities-grid,
    .benefits-grid,
    .success-grid,
    .contact-grid,
    .subscription-admin-plans {
        grid-template-columns: 1fr;
    }

    .profile-card,
    .stats-card,
    .saved-job-card,
    .dashboard-casting-card,
    .recv-app-card,
    .req-list-card,
    .shortlist-group,
    .public-opportunity-card,
    .opportunities-filter-card,
    .app-status-header,
    .app-list-panel,
    .dashboard-empty-state,
    .subscription-admin-card,
    .payment-gateway-card {
        padding: var(--space-xl);
        border-radius: 20px;
    }

    .opportunities-page-header,
    .feed-header,
    .app-status-header,
    .public-opportunity-top,
    .public-opportunity-footer,
    .dashboard-casting-top,
    .dashboard-casting-footer,
    .req-list-header,
    .req-list-footer,
    .recv-app-top,
    .recv-app-footer,
    .shortlist-group-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-tabs,
    .opportunity-filter-grid {
        grid-template-columns: 1fr;
    }

    .opportunity-filter-control--search {
        grid-column: span 1;
    }

    .public-opportunity-facts,
    .dashboard-casting-facts,
    .saved-job-meta,
    .req-list-meta,
    .recv-app-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dashboard-casting-actions,
    .saved-job-actions,
    .req-list-actions,
    .recv-status-controls,
    .profile-actions {
        width: 100%;
    }

    .dashboard-casting-actions .btn,
    .saved-job-actions .btn,
    .req-list-actions .btn,
    .profile-actions .btn,
    .recv-view-btn,
    .recv-update-btn {
        width: 100%;
        justify-content: center;
    }

    .pagination-bar,
    .pagination-controls {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.35rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .navbar .container {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .landing-hero,
    .opportunities-page,
    .actor-signup-page,
    .casting-signup-page,
    .production-signup-page,
    .subscription-page,
    .payment-gateway-page,
    .dashboard {
        padding-top: calc(86px + var(--space-2xl));
    }

    .profile-card,
    .stats-card,
    .saved-job-card,
    .dashboard-casting-card,
    .recv-app-card,
    .req-list-card,
    .shortlist-group,
    .public-opportunity-card,
    .opportunities-filter-card,
    .app-status-header,
    .app-list-panel,
    .dashboard-empty-state,
    .subscription-admin-card,
    .payment-gateway-card {
        padding: var(--space-lg);
        border-radius: 18px;
    }

    .tab-btn {
        min-height: 52px;
        font-size: 13px;
    }

    .public-opportunity-title,
    .dashboard-casting-title,
    .req-list-title,
    .shortlist-group-title {
        font-size: 1.05rem;
    }

    .app-pill,
    .public-opportunity-tag,
    .dashboard-casting-tag,
    .shortlist-group-chip,
    .public-opportunities-count,
    .opportunity-filter-reset {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .opportunity-filter-actions {
        align-items: stretch;
    }
}

/* ============================================
   Global Spacing And Surface Polish
   ============================================ */

:root {
    --space-lg: 1.125rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3.25rem;
    --space-5xl: 4rem;
    --surface-radius: 20px;
    --surface-radius-lg: 24px;
    --surface-glass: rgba(255, 255, 255, 0.68);
    --surface-glass-strong: rgba(255, 255, 255, 0.82);
    --surface-border: rgba(255, 255, 255, 0.38);
    --surface-shadow: 0 20px 50px rgba(36, 18, 65, 0.09);
    --surface-shadow-hover: 0 28px 60px rgba(36, 18, 65, 0.14);
    --surface-section-space: clamp(3.75rem, 7vw, 6rem);
}

.landing-hero,
.opportunities-page,
.actor-signup-page,
.casting-signup-page,
.production-signup-page,
.subscription-page,
.payment-gateway-page,
.dashboard,
.contact-section,
.model-carousel-section,
.benefits-section,
.user-type-section,
.opportunities-section {
    padding-bottom: var(--surface-section-space);
}

.hero-title-section,
.section-header,
.feed-header,
.opportunities-page-header,
.profile-header,
.req-list-header,
.dashboard-casting-top,
.public-opportunity-top,
.recv-app-top,
.shortlist-group-header,
.contact-container,
.benefits-grid,
.success-grid,
.user-types,
.opportunities-grid {
    gap: var(--space-xl);
}

.profile-card,
.stats-card,
.saved-job-card,
.dashboard-casting-card,
.recv-app-card,
.req-list-card,
.shortlist-group,
.public-opportunity-card,
.opportunities-filter-card,
.app-status-header,
.app-list-panel,
.dashboard-empty-state,
.subscription-admin-card,
.payment-gateway-card,
.user-type-card,
.benefit-card,
.contact-form,
.contact-info,
.casting-signup-card,
.production-signup-card,
.actor-signup-wrapper,
.modal-content,
.requirements-list,
.app-list-card,
.pricing-card,
.notification-panel,
.message-panel {
    border-radius: var(--surface-radius);
    background: var(--surface-glass-strong);
    border: 1px solid var(--surface-border);
    box-shadow: var(--surface-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-opportunity-card,
.dashboard-casting-card,
.saved-job-card,
.recv-app-card,
.req-list-card,
.shortlist-group,
.user-type-card,
.benefit-card,
.pricing-card,
.app-list-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.public-opportunity-card:hover,
.dashboard-casting-card:hover,
.saved-job-card:hover,
.recv-app-card:hover,
.req-list-card:hover,
.shortlist-group:hover,
.user-type-card:hover,
.benefit-card:hover,
.pricing-card:hover,
.app-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--surface-shadow-hover);
    border-color: rgba(233, 89, 80, 0.18);
}

.btn,
.btn-header,
.tab-btn,
.opportunity-filter-reset,
.recv-view-btn,
.recv-update-btn,
.notification-toggle,
.pagination-btn,
.status-select,
.app-pill,
.public-opportunity-tag,
.dashboard-casting-tag,
.shortlist-group-chip {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn-header:hover,
.tab-btn:hover,
.opportunity-filter-reset:hover,
.recv-view-btn:hover,
.recv-update-btn:hover,
.notification-toggle:hover,
.pagination-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(79, 36, 108, 0.16);
}

.tab-btn,
.btn,
.recv-view-btn,
.recv-update-btn,
.status-select,
.pagination-btn,
.opportunity-filter-reset,
.opportunity-filter-control input,
.opportunity-filter-control select,
input,
select,
textarea {
    border-radius: 16px;
}

.content-tabs,
.feed-filters,
.opportunity-filter-summary,
.pagination-bar,
.pagination-controls,
.public-opportunity-footer,
.dashboard-casting-footer,
.req-list-footer,
.recv-app-footer,
.saved-job-actions,
.dashboard-casting-actions,
.req-list-actions,
.profile-actions {
    gap: var(--space-lg);
}

.contact-form,
.contact-info,
.opportunities-filter-card,
.profile-card,
.actor-signup-wrapper,
.casting-signup-card,
.production-signup-card,
.subscription-admin-card,
.payment-gateway-card,
.modal-content {
    border-radius: var(--surface-radius-lg);
}

input,
select,
textarea,
.opportunity-filter-control input,
.opportunity-filter-control select,
.form-group input,
.form-group textarea,
.contact-form input,
.contact-form select,
.contact-form textarea,
.req-form-group input,
.req-form-group textarea,
.req-form-group select,
.actor-signup-form input,
.actor-signup-form select,
.actor-signup-form textarea,
#auth-modal .form-group input,
#auth-modal .form-group select {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(131, 58, 180, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

input:focus,
select:focus,
textarea:focus,
.opportunity-filter-control input:focus,
.opportunity-filter-control select:focus,
.form-group input:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.req-form-group input:focus,
.req-form-group textarea:focus,
.req-form-group select:focus,
.actor-signup-form input:focus,
.actor-signup-form select:focus,
.actor-signup-form textarea:focus,
#auth-modal .form-group input:focus,
#auth-modal .form-group select:focus {
    box-shadow: 0 0 0 4px rgba(233, 89, 80, 0.08), 0 16px 30px rgba(79, 36, 108, 0.12);
}

.photo-preview-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.photo-preview-image {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 20px;
    background: #f2f4f7;
    display: block;
}

.photo-preview-caption {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

#actor-photo-preview-modal {
    z-index: 1200;
}

#actor-photo-preview-modal .modal-content {
    z-index: 1201;
}

@media (max-width: 768px) {
    :root {
        --surface-section-space: clamp(2.75rem, 7vw, 4rem);
    }

    .profile-card,
    .stats-card,
    .saved-job-card,
    .dashboard-casting-card,
    .recv-app-card,
    .req-list-card,
    .shortlist-group,
    .public-opportunity-card,
    .opportunities-filter-card,
    .app-status-header,
    .app-list-panel,
    .dashboard-empty-state,
    .subscription-admin-card,
    .payment-gateway-card,
    .user-type-card,
    .benefit-card,
    .contact-form,
    .contact-info,
    .modal-content {
        border-radius: 18px;
    }
}

/* ============================================
   Native Motion System
   ============================================ */

.motion-fade-up {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.985);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, transform;
}

.motion-fade-up.motion-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.motion-hover-card {
    transform-origin: center center;
}

.motion-hover-card.motion-visible:hover {
    transform: translate3d(0, -8px, 0) scale(1.018);
    box-shadow: var(--surface-shadow-hover);
}

.motion-hover-card.motion-visible:active {
    transform: translate3d(0, -2px, 0) scale(1.005);
}

@media (prefers-reduced-motion: reduce) {
    .motion-fade-up,
    .motion-fade-up.motion-visible,
    .motion-hover-card.motion-visible:hover,
    .motion-hover-card.motion-visible:active {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Dashboard Tabs And Opportunities CTA Refresh
   ============================================ */

.main-content > .content-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.main-content > .content-tabs .tab-btn {
    flex: 1 1 180px;
    min-height: 64px;
    padding: 0.95rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(131, 58, 180, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
    color: #4f5f80;
    box-shadow: 0 10px 24px rgba(34, 18, 62, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-content > .content-tabs .tab-btn:hover:not(.active) {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 255, 0.94));
    border-color: rgba(131, 58, 180, 0.16);
    color: #24314d;
    box-shadow: 0 14px 28px rgba(34, 18, 62, 0.1);
}

.main-content > .content-tabs .tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 52%, var(--accent-color) 100%);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: 0 18px 38px rgba(233, 89, 80, 0.22);
}

.main-content > .content-tabs .tab-btn.active:hover {
    transform: translateY(-2px);
}

.opportunities-page-header .btn-home-return,
.btn-home-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(131, 58, 180, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 252, 0.82));
    color: #2d3550;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 26px rgba(34, 18, 62, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.opportunities-page-header .btn-home-return:hover,
.btn-home-return:hover {
    transform: translateY(-2px);
    opacity: 1;
    color: var(--primary-dark);
    border-color: rgba(131, 58, 180, 0.22);
    box-shadow: 0 16px 32px rgba(34, 18, 62, 0.12);
}

.opportunities-page-header .btn-home-return i,
.btn-home-return i {
    font-size: 0.9rem;
}

.public-profile-card {
    position: relative;
    overflow: hidden;
}

.public-profile-card::after {
    content: '';
    position: absolute;
    inset: auto -12% -36% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 89, 80, 0.14), transparent 68%);
    pointer-events: none;
}

.public-profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(233, 89, 80, 0.1);
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-profile-facts,
.public-profile-footer {
    position: relative;
    z-index: 1;
}

.organisation-profile-modal-card .job-detail-grid {
    margin-top: 1.4rem;
}

.app-modal-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

@media (max-width: 1024px) {
    .main-content > .content-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0;
    }

    .main-content > .content-tabs .tab-btn {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

@media (max-width: 640px) {
    .main-content > .content-tabs {
        gap: 0.65rem;
    }

    .main-content > .content-tabs .tab-btn {
        flex-basis: 100%;
        min-height: 58px;
        border-radius: 18px;
    }

    .opportunities-page-header .btn-home-return,
    .btn-home-return {
        width: 100%;
        min-height: 48px;
    }
}
