:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --gray: #2a2a2a;
    --light-gray: #666;
    --gold: #d4af37;
    --gold-light: #f0d677;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --text-light: #e0e0e0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.login-btn {
    background: transparent;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.cta-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.75) 0%, rgba(26, 26, 26, 0.85) 100%),
        url('https://images.pexels.com/photos/9754798/pexels-photo-9754798.jpeg?auto=compress&cs=tinysrgb&w=1600') center center / cover no-repeat;
    animation: gradientShift 15s ease infinite;
}


@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-line {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.title-accent {
    font-size: 32px;
    color: var(--text-light);
    font-weight: 400;
    animation: fadeIn 1.5s ease;
}

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

.hero-description {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeIn 2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 2.5s ease;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    animation: fadeInUp 3s ease;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: rotate(-45deg);
}

.features {
    padding: 120px 0;
    background: var(--dark-gray);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    color: var(--black);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--gold);
}

.feature-description {
    color: var(--light-gray);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: var(--text-light);
}

.about {
    padding: 120px 0;
    background: var(--black);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease;
}

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

.about-description {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(10px);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
    transform: rotate(360deg) scale(1.1);
}

.value-item h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.value-item p {
    color: var(--light-gray);
    font-size: 14px;
}

.about-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(243, 194, 34, 0.2);
    display: block;
}

.pricing {
    padding: 120px 0;
    background: var(--dark-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing-card {
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.pricing-card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.2);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s ease infinite;
}

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.pricing-price {
    margin-bottom: 30px;
}

.currency {
    font-size: 24px;
    color: var(--gold);
    vertical-align: super;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amount.custom {
    font-size: 36px;
}

.period {
    font-size: 18px;
    color: var(--light-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--light-gray);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.pricing-features li:hover {
    color: var(--gold);
    padding-left: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    margin-right: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.faq {
    padding: 120px 0;
    background: var(--black);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(42, 42, 42, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.faq-question h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item:hover .faq-answer {
    max-height: 200px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer {
    background: var(--dark-gray);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.footer-description {
    color: var(--light-gray);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: color 0.3s ease;
}

.social-link:hover svg {
    color: var(--black);
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact li {
    color: var(--light-gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--light-gray);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--black);
}

.auth-page .navbar {
    flex-shrink: 0;
}

.auth-page .auth-container {
    flex: 1;
    display: flex;
}
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - 64px);
}
.auth-left {
    background: linear-gradient(135deg, var(--dark-gray), var(--black));
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 64px);
}
.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
}

.auth-branding {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.auth-tagline {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.4;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.auth-feature:hover {
    transform: translateX(10px);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: 700;
    flex-shrink: 0;
}

.auth-right {
    background: var(--dark-gray);
    padding: 40px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}
.auth-form-container {
    width: 100%;
    max-width: 450px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    background: rgba(42, 42, 42, 0.5);
    padding: 5px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: var(--light-gray);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--light-gray);
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.form-input,
.form-select {
    width: 100%;
    padding: 15px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    background: rgba(42, 42, 42, 0.8);
}

.form-input:hover,
.form-select:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.5;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-input:focus + .input-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-gray);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: var(--gold);
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

.forgot-link,
.link-gold {
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-link:hover,
.link-gold:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

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

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

.auth-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    color: var(--light-gray);
    font-size: 14px;
    background: var(--dark-gray);
    padding: 0 15px;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-btn {
    padding: 12px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--error), var(--warning), var(--success));
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 12px;
    color: var(--light-gray);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.back-home {
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-home:hover {
    transform: translateX(-5px);
    text-decoration: underline;
}

.dashboard-page {
    background: var(--black);
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--dark-gray);
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.sidebar:hover {
    box-shadow: 5px 0 30px rgba(212, 175, 55, 0.1);
}

.sidebar-header {
    padding: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.admin-badge {
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 10px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

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

.nav-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.badge {
    margin-left: auto;
    padding: 4px 10px;
    background: var(--gold);
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
}

.sidebar-footer {
    padding: 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.logout:hover {
    color: var(--error);
}

.dashboard-main {
    flex: 1;
    margin-left: 0;
    background: var(--black);
}

.dashboard-header {
    background: var(--dark-gray);
    padding: 30px 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.dashboard-subtitle {
    color: var(--light-gray);
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.search-box input {
    padding: 12px 15px 12px 45px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    color: var(--white);
    width: 300px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    width: 350px;
}

.search-box input:focus + svg {
    color: var(--gold);
}

.notification-btn {
    position: relative;
    width: 45px;
    height: 45px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.1);
}

.notification-btn svg {
    width: 24px;
    height: 24px;
    color: var(--light-gray);
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: var(--error);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.user-menu:hover .user-avatar {
    transform: scale(1.1) rotate(5deg);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    color: var(--light-gray);
    font-size: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px;
}

.stat-card {
    background: var(--dark-gray);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.stat-icon.pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.05));
}

.stat-icon.approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
}

.stat-icon.carriers {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
}

.stat-icon.time {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
}

.stat-icon.users {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
}

.stat-icon.packets {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
}

.stat-icon.revenue {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
}

.stat-icon.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: 8px;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-change.increase {
    color: var(--success);
}

.stat-change.decrease {
    color: var(--warning);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 40px;
}

.card {
    background: var(--dark-gray);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 30px rgba(212, 175, 55, 0.1);
}

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

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.packets-table,
.users-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    border-bottom: 2px solid rgba(212, 175, 55, 0.1);
}

th {
    text-align: left;
    padding: 15px;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
}

.packet-row,
.user-row {
    transition: all 0.3s ease;
}

.packet-row:hover,
.user-row:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: scale(1.01);
}

.carrier-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carrier-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    transition: transform 0.3s ease;
}

.packet-row:hover .carrier-avatar,
.user-row:hover .carrier-avatar {
    transform: scale(1.1) rotate(5deg);
}

.carrier-name {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.carrier-email {
    color: var(--light-gray);
    font-size: 12px;
}

.packet-id {
    color: var(--gold);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.1);
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-badge.signed {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-badge.approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.review {
    background: rgba(251, 191, 36, 0.2);
    color: #f59e0b;
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.role-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.role-badge.broker {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.role-badge.carrier {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.role-badge.admin {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s ease infinite;
}

.status-dot.active {
    background: var(--success);
}

.status-dot.inactive {
    background: var(--light-gray);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 35px;
    height: 35px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.action-btn:hover {
    background: var(--gold);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.content-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: var(--gold);
    transform: translateX(5px);
    background: rgba(212, 175, 55, 0.05);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-icon {
    transform: rotate(360deg) scale(1.1);
}

.activity-icon.approved {
    background: rgba(16, 185, 129, 0.2);
}

.activity-icon.signed {
    background: rgba(59, 130, 246, 0.2);
}

.activity-icon.pending {
    background: rgba(251, 191, 36, 0.2);
}

.activity-icon.rejected {
    background: rgba(239, 68, 68, 0.2);
}

.activity-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.activity-time {
    color: var(--light-gray);
    font-size: 12px;
}

.quick-actions {
    margin-top: 0;
}

.quick-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-btn {
    padding: 15px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.quick-btn svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.quick-btn:hover svg {
    transform: scale(1.2) rotate(90deg);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.analytics-select {
    padding: 10px 15px;
    background: rgba(42, 42, 42, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.analytics-select:focus {
    outline: none;
    border-color: var(--gold);
}

.analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.analytics-item {
    padding: 20px;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: all 0.3s ease;
}

.analytics-item:hover {
    border-color: var(--gold);
    transform: translateX(5px);
}

.analytics-label {
    color: var(--light-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.analytics-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.analytics-bar {
    height: 8px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.analytics-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 4px;
    transition: width 1s ease;
    animation: fillBar 2s ease;
}

@keyframes fillBar {
    from { width: 0; }
}

.health-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.health-item {
    padding: 20px;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: all 0.3s ease;
}

.health-item:hover {
    border-color: var(--gold);
    transform: scale(1.02);
}

.health-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 600;
}

.health-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-logout-header {
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-logout-header:hover {
    background: var(--error);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}
.health-status.operational {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.health-status.warning {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning);
}

.health-bar {
    height: 6px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.health-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--gold));
    border-radius: 3px;
    transition: width 1s ease;
}

.health-fill.warning {
    background: linear-gradient(90deg, var(--warning), var(--error));
}

.health-text {
    font-size: 12px;
    color: var(--light-gray);
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alert-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.alert-item:hover {
    transform: translateX(5px);
}

.alert-item.warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.alert-item.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.alert-item.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.alert-time {
    color: var(--light-gray);
    font-size: 12px;
}

@keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .alert.success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #10b981;
        }

        .alert.error {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
        }












         @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .upload-alert {
            padding: 12px 16px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 14px;
            font-weight: 500;
            display: none;
        }

        .upload-alert.show { display: block; }

        .upload-alert.success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: var(--success);
        }

        .upload-alert.error {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: var(--error);
        }

        .file-drop-area {
            padding: 32px;
            background: rgba(42, 42, 42, 0.3);
            border: 2px dashed rgba(212, 175, 55, 0.25);
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .file-drop-area:hover {
            border-color: var(--gold);
            background: rgba(212, 175, 55, 0.04);
        }

        .file-drop-area p {
            color: var(--light-gray);
            font-size: 14px;
            margin-bottom: 4px;
        }

        .file-drop-area small {
            font-size: 12px;
            color: rgba(102, 102, 102, 0.6);
        }

        .file-selected-name {
            margin-top: 10px;
            font-size: 13px;
            color: var(--gold);
        }

        /* Upload form inputs */
        .upload-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .upload-form-grid .form-group.full {
            grid-column: 1 / -1;
        }

        /* Packets table inside card */
        .packets-section {
            overflow-x: auto;
        }

        .packets-section table {
            width: 100%;
        }

        .packets-section td {
            color: var(--light-gray);
            font-size: 14px;
        }

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

        .empty-state-icon {
            font-size: 40px;
            margin-bottom: 16px;
            opacity: 0.4;
        }

        .packets-loading {
            text-align: center;
            padding: 40px;
            display: none;
            color: var(--light-gray);
            font-size: 14px;
        }

        .packets-loading.show { display: block; }

        .packets-loading .spinner-inline {
            width: 30px;
            height: 30px;
            border: 3px solid rgba(212, 175, 55, 0.2);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 12px;
        }

        /* Action buttons in table */
        .btn-approve {
            padding: 6px 14px;
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            margin-right: 6px;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }

        .btn-approve:hover {
            background: var(--success);
            color: var(--black);
        }

        .btn-reject {
            padding: 6px 14px;
            background: rgba(239, 68, 68, 0.1);
            color: var(--error);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }

        .btn-reject:hover {
            background: var(--error);
            color: white;
        }

        .btn-send-packet {
            padding: 6px 14px;
            background: rgba(212, 175, 55, 0.1);
            color: var(--gold);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }

        .btn-send-packet:hover {
            background: var(--gold);
            color: var(--black);
        }

        .view-pdf-link {
            color: var(--gold);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .view-pdf-link:hover {
            color: var(--gold-light);
            text-decoration: underline;
        }

        /* Real stat numbers */
        .stat-number-real {
            font-size: 32px;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 5px;
        }

 @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .real-stat-number {
            font-size: 32px;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 5px;
        }

        .loading-spinner {
            display: none;
            text-align: center;
            padding: 40px;
            color: var(--light-gray);
            font-size: 14px;
        }
        .loading-spinner.show { display: block; }

        .spinner-sm {
            width: 28px;
            height: 28px;
            border: 3px solid rgba(212, 175, 55, 0.2);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 12px;
        }

        .empty-state {
            text-align: center;
            padding: 40px;
            color: var(--light-gray);
            font-size: 14px;
        }

        .plan-select {
            padding: 7px 12px;
            background: rgba(42, 42, 42, 0.8);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 8px;
            color: var(--white);
            font-size: 13px;
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            transition: border-color 0.2s;
        }
        .plan-select:focus { outline: none; border-color: var(--gold); }

        .btn-enable {
            padding: 6px 14px;
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }
        .btn-enable:hover { background: var(--success); color: var(--black); }

        .btn-disable {
            padding: 6px 14px;
            background: rgba(239, 68, 68, 0.1);
            color: var(--error);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
        }
        .btn-disable:hover { background: var(--error); color: white; }

        .brokers-table,
        .analytics-table { overflow-x: auto; }

        .brokers-table td,
        .analytics-table td { color: var(--light-gray); font-size: 14px; }

        .company-stat-bar {
            height: 4px;
            background: rgba(212, 175, 55, 0.1);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 5px;
        }
        .company-stat-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
            border-radius: 2px;
        }

        .quick-stat-item {
            padding: 16px;
            background: rgba(42, 42, 42, 0.3);
            border-radius: 12px;
            border: 1px solid rgba(212, 175, 55, 0.05);
            margin-bottom: 12px;
            transition: all 0.3s ease;
        }
        .quick-stat-item:hover { border-color: var(--gold); transform: translateX(4px); }
        .quick-stat-item .qs-label { color: var(--light-gray); font-size: 13px; margin-bottom: 5px; }
        .quick-stat-item .qs-value { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
        .quick-stat-item .qs-bar { height: 5px; background: rgba(212,175,55,0.1); border-radius: 3px; overflow: hidden; }
        .quick-stat-item .qs-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }

        @media (max-width: 768px) {
            .upload-form-grid {
                grid-template-columns: 1fr;
            }
        }


@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-gray);
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.nav-menu.active {
    opacity: 1;
    pointer-events: all;
    display: flex;
}

    .hero-title {
        font-size: 48px;
    }

    .hero-stats {
        gap: 40px;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

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

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .title-accent {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 20px;
    }

    .header-right {
        width: 100%;
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    .search-box input:focus {
        width: 100%;
    }
}

@media (orientation: landscape) and (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-stats {
        margin-top: 30px;
    }

    .scroll-indicator {
        display: none;
    }
}



/* ════════════════════════════════════════════════════════════════
   SIGN PAGE — add these to the bottom of styles.css
   ════════════════════════════════════════════════════════════════ */

/* Utility: hidden state — used instead of display:none inline */
.hidden { display: none !important; }

/* ── FULL-SCREEN STATE SCREENS (loading / error / success) ─── */
.sign-state-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 18px;
    background: var(--black);
    padding: 40px;
    text-align: center;
}

.sign-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.sign-state-icon--error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.35);
    color: var(--error);
}

.sign-state-icon--success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.35);
    color: var(--success);
    animation: pulse 2s ease infinite;
}

.sign-state-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.sign-state-text,
.sign-state-body {
    color: var(--light-gray);
    font-size: 15px;
    max-width: 400px;
    line-height: 1.75;
}

/* ── SECURE BADGE (topbar) ─────────────────────────────────── */
.sign-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    letter-spacing: 0.3px;
    margin-left: 16px;
}

.sign-secure-badge svg {
    width: 14px;
    height: 14px;
}

/* ── TWO-COLUMN LAYOUT ─────────────────────────────────────── */
.sign-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    min-height: calc(100vh - 90px);
}

/* ── LEFT: PDF COLUMN ──────────────────────────────────────── */
.sign-pdf-col {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    background: #0d0d0d;
}

.sign-pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    flex-shrink: 0;
}

.viewer-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.viewer-title svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.viewer-status {
    font-size: 12px;
    color: var(--light-gray);
}

.sign-pdf-wrap {
    flex: 1;
    overflow: hidden;
}

.sign-pdf-frame {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

/* ── RIGHT: FORM COLUMN ────────────────────────────────────── */
.sign-form-col {
    background: var(--dark-gray);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sign-form-inner {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── INFO CARD ─────────────────────────────────────────────── */
.sign-info-card {
    margin-top: 14px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 14px;
    padding: 20px;
}

.sign-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.06);
    gap: 16px;
}

.sign-info-row--last {
    padding-bottom: 0;
    border-bottom: none;
}

.sign-info-label {
    font-size: 13px;
    color: var(--light-gray);
    font-weight: 500;
    flex-shrink: 0;
}

.sign-info-value {
    font-size: 13px;
    color: var(--white);
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

/* ── SECTION ───────────────────────────────────────────────── */
.sign-section-sub {
    font-size: 13px;
    color: var(--light-gray);
    line-height: 1.65;
    margin-top: 6px;
}

.sign-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.08);
}

/* ── REQUIRED ASTERISK ─────────────────────────────────────── */
.sign-required {
    color: var(--gold);
    margin-left: 2px;
}

/* ── FILE DROP AREA — extends existing .file-drop-area ─────── */
.file-drop-area {
    position: relative;
    cursor: pointer;
}

.file-drop-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.file-drop-area.dragover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
}

.sign-upload-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
    margin: 0 auto 10px;
    display: block;
}

.sign-drop-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    text-align: center;
}

.sign-drop-sub {
    font-size: 12px;
    color: var(--light-gray);
    text-align: center;
}

.file-selected-name {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
}

/* ── SUBMIT BUTTON ─────────────────────────────────────────── */
.sign-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 16px;
    letter-spacing: 0.3px;
}

/* ── BUTTON SPINNER (small, inside button) ─────────────────── */
.sign-btn-spinner {
    width: 18px !important;
    height: 18px !important;
    border-width: 2px !important;
    border-color: rgba(0,0,0,0.2) !important;
    border-top-color: var(--black) !important;
    flex-shrink: 0;
}

/* ── SECURITY NOTE ─────────────────────────────────────────── */
.sign-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--light-gray);
    line-height: 1.6;
}

.sign-secure-note svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
    flex-shrink: 0;
}


.testimonials-section {
    padding: 100px 0;
    background: var(--black);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonials-slider:hover .testimonial-track {
    animation-play-state: paused;
}



.testimonial-card {
    min-width: 400px;
    background: var(--dark-gray);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gold-light);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.12);
}


.testimonial-rating {
    margin-bottom: 25px;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.0rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 2rem;
}


.quote-icon {
    font-size: 4rem;
    color: var(--lavender-light);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--lavender-light);
}

.testimonial-author h5 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* ── TEMPLATE PILL ───────────────────────────────────────── */
.template-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(42,42,42,0.4);
    border: 2px solid rgba(212,175,55,0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.template-pill:hover {
    border-color: rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.05);
}

.template-pill.selected {
    border-color: var(--gold);
    background: rgba(212,175,55,0.08);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

select.form-input option {
    background: var(--dark-gray);
    color: var(--white);
}


#pdf-canvas {
    display: block;
    max-width: 100%;
}

.sign-pdf-wrap {
    overflow: auto;
    background: #1a1a1a;
}

#pdf-container {
    margin: 0 auto;
    display: block !important;
}









/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .sign-layout {
        grid-template-columns: 1fr;
    }

    .sign-pdf-col {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        min-height: 420px;
    }

    .sign-pdf-frame {
        min-height: 420px;
    }
}

@media (max-width: 480px) {
    .sign-form-inner {
        padding: 24px 18px;
    }
}


.sign-doc-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: rgba(42, 42, 42, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 14px;
    transition: border-color 0.2s ease;
}
.sign-doc-block:hover { border-color: rgba(212, 175, 55, 0.2); }

.sign-doc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.sign-doc-title { font-size: 14px; font-weight: 700; color: var(--white); }

.sign-doc-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}
.sign-doc-badge--required {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
}
.sign-doc-hint { font-size: 12px; color: var(--light-gray); line-height: 1.5; margin: 0; }


/* ── SIGN PAGE RESPONSIVE + NEW ELEMENTS ──────────────────── */

/* PDF toolbar responsive */
.sign-pdf-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--dark-gray);
    border-bottom: 1px solid var(--border, rgba(212,175,55,0.1));
    flex-wrap: wrap;
}

.sign-pdf-toolbar button {
    padding: 6px 12px;
    font-size: 12px;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.2);
    color: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.sign-pdf-toolbar button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.sign-pdf-toolbar .toolbar-page {
    color: var(--light-gray);
    font-size: 13px;
    white-space: nowrap;
}

.sign-pdf-toolbar .toolbar-hint {
    color: var(--gold);
    font-size: 12px;
    margin-left: auto;
    white-space: nowrap;
}

.sign-pdf-toolbar .btn-download {
    padding: 6px 14px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.sign-pdf-toolbar .btn-download:hover {
    background: var(--gold);
    color: var(--black);
}

/* Auto-submit notice */
.sign-auto-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.sign-auto-notice svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* PDF container scroll on mobile */
.sign-pdf-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Make layout stack earlier on tablet */
@media (max-width: 1024px) {
    .sign-layout {
        grid-template-columns: 1fr;
    }

    .sign-pdf-col {
        border-right: none;
        border-bottom: 1px solid rgba(212,175,55,0.1);
        max-height: 55vh;
    }

    .sign-pdf-wrap {
        max-height: calc(55vh - 110px);
        overflow: auto;
    }
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(212,175,55,0.06);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 14px 16px;
        width: 100%;
        font-size: 15px;
        border-radius: 10px;
    }

    .nav-menu .login-btn {
        margin-top: 8px;
        text-align: center;
        border: 2px solid var(--gold);
    }

    .nav-menu .cta-btn {
        margin-top: 4px;
        text-align: center;
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--black);
        font-weight: 700;
    }

}

@media (max-width: 768px) {
    .sign-pdf-col {
        max-height: 50vh;
    }

    .sign-pdf-wrap {
        max-height: calc(50vh - 110px);
    }

    .sign-pdf-toolbar {
        gap: 6px;
        padding: 8px 12px;
    }

    .sign-pdf-toolbar .toolbar-hint {
        display: none;
    }

    .sign-form-inner {
        padding: 20px 16px;
        gap: 20px;
    }

    .sign-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sign-info-value {
        text-align: left;
    }

    .dashboard-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sign-secure-badge {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .sign-pdf-toolbar button {
        padding: 5px 8px;
        font-size: 11px;
    }

    .sign-pdf-toolbar .btn-download span {
        display: none;
    }

    .sign-doc-block {
        padding: 14px;
    }

    .sign-state-title {
        font-size: 20px;
    }
}

/* ══════════════════════════════════════════════════════════
   SIGN PAGE — RESPONSIVE IMPROVEMENTS
   ══════════════════════════════════════════════════════════ */

/* Stack layout on tablet and below */
@media (max-width: 1024px) {
    .sign-layout {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .sign-pdf-col {
        border-right: none;
        border-bottom: 1px solid rgba(212,175,55,0.1);
        height: 60vh;
        min-height: 400px;
    }

    .sign-pdf-wrap {
        height: calc(60vh - 110px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sign-form-col {
        max-height: unset;
        overflow-y: visible;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header */
    .dashboard-header {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sign-secure-badge {
        margin-left: 0;
        font-size: 11px;
    }

    /* PDF column shorter on mobile */
    .sign-pdf-col {
        height: 50vh;
        min-height: 320px;
    }

    .sign-pdf-wrap {
        height: calc(50vh - 100px);
    }

    /* Toolbar wraps cleanly */
    .sign-pdf-toolbar {
        padding: 8px 10px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .sign-pdf-toolbar button {
        padding: 5px 8px;
        font-size: 11px;
    }

    .sign-pdf-toolbar .toolbar-hint {
        display: none;
    }

    .sign-pdf-toolbar .toolbar-page {
        font-size: 11px;
    }

    /* Hide download text on very small screens, keep icon */
    .sign-pdf-toolbar .btn-download span {
        display: none;
    }

    /* Form column */
    .sign-form-inner {
        padding: 20px 16px;
        gap: 16px;
    }

    /* Info card rows stack */
    .sign-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding-bottom: 12px;
    }

    .sign-info-value {
        text-align: left;
        font-size: 14px;
    }

    /* Auto-notice */
    .sign-auto-notice {
        font-size: 12px;
        padding: 12px;
    }

    /* Doc blocks */
    .sign-doc-block {
        padding: 14px 12px;
    }

    .file-drop-area {
        padding: 20px 12px;
    }

    .sign-drop-main {
        font-size: 13px;
    }

    /* Submit button full width */
    .sign-submit-btn {
        padding: 14px;
        font-size: 14px;
    }

    /* Card title smaller */
    .card-title {
        font-size: 16px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .sign-pdf-col {
        height: 45vh;
        min-height: 280px;
    }

    .sign-pdf-wrap {
        height: calc(45vh - 95px);
    }

    .sign-pdf-toolbar {
        padding: 6px 8px;
    }

    .sign-pdf-toolbar button {
        padding: 4px 6px;
        font-size: 10px;
    }

    .sign-form-inner {
        padding: 16px 12px;
    }

    .sign-doc-block {
        padding: 12px 10px;
    }
}

/* PDF canvas responsive scaling */
@media (max-width: 1024px) {
    #pdf-container {
        min-width: 100%;
    }

    #pdf-canvas {
        max-width: 100%;
        height: auto !important;
    }
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD + AUTH — MOBILE RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── DASHBOARD HEADER ── */
    .dashboard-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dashboard-title { font-size: 20px; }
    .dashboard-subtitle { font-size: 13px; }

    .header-right {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .search-box { width: 100%; }
    .search-box input { width: 100% !important; }

    .user-menu {
        padding: 6px 10px;
    }

    .user-info { display: none; }

    /* ── STATS GRID ── */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
    }

    .stat-card {
        padding: 16px;
        gap: 12px;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .stat-icon svg { width: 22px; height: 22px; }

    .stat-number-real,
    .real-stat-number,
    .stat-number { font-size: 22px; }

    .stat-label { font-size: 12px; }
    .stat-change { font-size: 11px; }

    /* ── DASHBOARD CONTENT ── */
    .dashboard-content {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    /* ── CARDS ── */
    .card { padding: 20px 16px; }
    .card-header { flex-wrap: wrap; gap: 10px; }
    .card-title { font-size: 16px; }

    /* ── UPLOAD FORM ── */
    .upload-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ── PACKETS TABLE ── */
    .packets-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .packets-section table {
        min-width: 600px;
    }

    th { font-size: 11px; padding: 10px 8px; }
    td { font-size: 12px; padding: 12px 8px; }

    .carrier-cell { gap: 8px; }
    .carrier-name { font-size: 13px; }
    .carrier-email { font-size: 11px; }

    /* ── AUTH PAGE ── */
    .auth-right {
        padding: 30px 20px;
    }

    .auth-title { font-size: 24px; }
    .auth-subtitle { font-size: 13px; }

    .auth-tabs { margin-bottom: 24px; }
    .auth-tab { padding: 12px; font-size: 14px; }

    .form-input { padding: 13px; font-size: 15px; }

    /* ── FORGOT PASSWORD ── */
    .auth-container {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {

    /* Stats go single column on very small phones */
    .stats-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .dashboard-content { padding: 12px; }

    .card { padding: 16px 12px; }

    /* Admin table scrollable */
    .brokers-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .brokers-table table {
        min-width: 500px;
    }

    /* Quick action buttons */
    .quick-action-buttons { gap: 10px; }
    .quick-btn { padding: 12px; font-size: 13px; }

    /* Activity items */
    .activity-item { padding: 12px; gap: 10px; }
    .activity-icon { width: 32px; height: 32px; font-size: 14px; }
    .activity-text { font-size: 13px; }

    /* Template pills */
    .template-pill { padding: 10px 12px; }

    /* Auth */
    .auth-right { padding: 24px 16px; }
    .auth-title { font-size: 22px; }
}

/* ══════════════════════════════════════════════════════════
   AUTH PAGE — COMPLETE MOBILE FIX
   ══════════════════════════════════════════════════════════ */

/* Fix: navbar overlap on auth pages */
.auth-page {
    padding-top: 0;
}

.auth-page .auth-container {
    margin-top: 0;
    min-height: 100vh;
}

/* Fix: auth container must always be grid, not flex */
@media (max-width: 1024px) {
    .auth-page .auth-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-height: 100vh;
    }

    .auth-left {
        display: none !important;
    }

    .auth-right {
        min-height: 100vh;
        padding: 40px 32px;
        align-items: flex-start;
        padding-top: 80px; /* clears fixed navbar */
    }

    .auth-form-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .auth-right {
        padding: 24px 20px;
        padding-top: 80px;
        align-items: flex-start;
    }

    .auth-form-container {
        width: 100%;
        max-width: 100%;
    }

    .auth-title {
        font-size: 26px;
    }

    .auth-tabs {
        margin-bottom: 24px;
    }

    .auth-tab {
        padding: 12px 8px;
        font-size: 14px;
    }

    .form-input {
        padding: 13px 14px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .btn-full {
        padding: 15px;
        font-size: 15px;
    }

    /* Fix: navbar on index.html auth page */
    .auth-page .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: 20px 16px;
        padding-top: 76px;
    }

    .auth-title {
        font-size: 22px;
    }

    .auth-subtitle {
        font-size: 13px;
    }

    .auth-tab {
        padding: 10px 6px;
        font-size: 13px;
    }

    .form-input {
        padding: 12px;
        font-size: 16px;
    }

    .form-label {
        font-size: 13px;
    }

    .auth-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }

    .forgot-link {
        font-size: 13px;
    }
}

/* ══════════════════════════════════════════════════════════
   LANDING PAGE — MOBILE FIXES
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
        gap: 8px;
    }

    .title-accent {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-number {
        font-size: 36px;
    }

    .features {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 4px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .about {
        padding: 70px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-description {
        font-size: 15px;
    }

    .about-img {
        height: 280px;
    }

    .pricing {
        padding: 70px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    .faq {
        padding: 70px 0;
    }

    .faq-question h4 {
        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .testimonial-card {
        min-width: 300px;
        padding: 1.5rem;
    }

    .footer {
        padding: 60px 0 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .title-accent {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .amount {
        font-size: 44px;
    }

    .testimonial-card {
        min-width: 260px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-title {
        font-size: 18px;
    }
}

/* ══════════════════════════════════════════════════════════
   FORGOT + RESET PASSWORD — NO NAVBAR, FULL HEIGHT FIX
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    /* forgot-password.html and reset-password.html 
       have no navbar so no padding-top needed */
    .auth-page:not(:has(.navbar)) .auth-right {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .auth-page:not(:has(.navbar)) .auth-right {
        padding: 32px 20px;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .auth-page:not(:has(.navbar)) .auth-right {
        padding: 24px 16px;
    }
}

/* ══════════════════════════════════════════════════════════
   FINAL OVERRIDE — AUTH PAGE MOBILE (must be last)
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {

    /* Kill the flex override from base styles */
    .auth-page,
    .auth-page .auth-container {
        display: block !important;
        flex: none !important;
    }

    .auth-container {
        display: block !important;
        grid-template-columns: unset !important;
        width: 100% !important;
        min-height: 100vh !important;
    }

    .auth-left {
        display: none !important;
    }

    .auth-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 100vh !important;
        padding: 90px 28px 40px !important; /* 90px clears fixed navbar */
        box-sizing: border-box !important;
        overflow-y: auto !important;
    }

    .auth-form-container {
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    /* Pages without navbar (forgot/reset password) */
    .auth-page:not(:has(.navbar)) .auth-right {
        padding-top: 40px !important;
    }
}

@media (max-width: 768px) {
    .auth-right {
        padding: 85px 20px 40px !important;
    }

    .auth-page:not(:has(.navbar)) .auth-right {
        padding: 32px 20px 40px !important;
    }

    .auth-form-container {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: 80px 16px 32px !important;
    }

    .auth-page:not(:has(.navbar)) .auth-right {
        padding: 24px 16px 32px !important;
    }

    .auth-title {
        font-size: 22px !important;
    }

    .auth-tab {
        padding: 10px 6px !important;
        font-size: 13px !important;
    }

    .form-input {
        font-size: 16px !important; /* prevents iOS zoom */
    }
}