/* ==========================================================================
   Infexor - Pricing Page Styles
   Premium gradient cards, hover effects, FAQ, testimonials, trust badges
   ========================================================================== */

/* ---------- Pricing Header ---------- */
.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--color-accent-glow);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

/* ---------- Pricing Category Title ---------- */
.pricing-category {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-category h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.pricing-category p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ---------- Pricing Cards Grid ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1050px;
    margin: 0 auto 3.5rem;
    align-items: stretch;
}

/* ---------- Pricing Card ---------- */
.pricing-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 200, 0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 60px rgba(0, 255, 200, 0.12), 0 0 40px rgba(0, 255, 200, 0.05);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover::after {
    opacity: 1;
}

/* Most Popular Card */
.pricing-card.popular {
    border-color: rgba(0, 255, 200, 0.3);
    background: linear-gradient(145deg, #1e2545 0%, #141c38 100%);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 12px 40px rgba(0, 255, 200, 0.1);
}

.pricing-card.popular::before {
    opacity: 1;
    height: 3px;
    background: var(--gradient-primary);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 24px 70px rgba(0, 255, 200, 0.18), 0 0 50px rgba(0, 255, 200, 0.08);
}

/* Light theme popular card */
[data-theme="light"] .pricing-card.popular {
    background: linear-gradient(145deg, #f0fdf9 0%, #ecfdf5 100%);
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: 0 12px 40px rgba(5, 150, 105, 0.1);
}

[data-theme="light"] .pricing-card.popular:hover {
    box-shadow: 0 24px 70px rgba(5, 150, 105, 0.15);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    z-index: 3;
}

/* Card Header */
.pricing-card-header {
    margin-bottom: 1rem;
}

.pricing-card-header .plan-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.pricing-card:hover .plan-icon {
    background: var(--color-accent-glow-strong);
    box-shadow: var(--shadow-glow);
}

.pricing-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.pricing-card-header .plan-subtitle {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Price Display */
.pricing-card-price {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.price-range {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.price-currency {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 600;
}

.price-min {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-separator {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0 0.15rem;
}

.price-max {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.price-plus {
    color: var(--color-accent);
    font-weight: 700;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.35rem 0;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.pricing-features li i,
.pricing-features li svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Card CTA Button */
.pricing-card .btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
}

.pricing-card .btn-pricing:hover {
    background: var(--color-accent-glow-strong);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.2);
}

.pricing-card.popular .btn-pricing {
    background: var(--gradient-primary);
    color: var(--color-bg-primary);
    border: none;
    box-shadow: var(--shadow-button);
}

.pricing-card.popular .btn-pricing:hover {
    box-shadow: 0 6px 25px rgba(0, 255, 200, 0.4);
    transform: translateY(-2px);
}

/* ---------- Additional Services Table ---------- */
.additional-services-wrapper {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.services-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.services-table thead {
    background: var(--color-bg-secondary);
}

.services-table th {
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.services-table td {
    padding: 1rem 1.5rem;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.services-table tbody tr:last-child td {
    border-bottom: none;
}

.services-table tbody tr {
    transition: background 0.2s ease;
}

.services-table tbody tr:hover {
    background: var(--color-accent-glow);
}

.table-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.table-features span {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--color-accent-glow);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--color-accent);
}

/* ---------- Custom Quote Section ---------- */
.custom-quote {
    background: linear-gradient(145deg, rgba(0, 255, 200, 0.05) 0%, rgba(0, 180, 216, 0.03) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.custom-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.custom-quote h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.custom-quote p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.custom-quote .quote-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-border-hover);
}

.faq-item.active {
    border-color: rgba(0, 255, 200, 0.25);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-heading);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Trust Badges ---------- */
.trust-section {
    margin-bottom: 5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.trust-badge-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.trust-badge-card .trust-icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.trust-badge-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.trust-badge-card p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* ---------- Testimonial Slider ---------- */
.testimonial-section {
    margin-bottom: 5rem;
}

.testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    padding: 2.5rem;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.testimonial-card .testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--color-text-heading);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.4);
    transform: scale(1.2);
}

/* ---------- Final CTA ---------- */
.final-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, rgba(0, 255, 200, 0.04) 0%, rgba(0, 180, 216, 0.02) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 200, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.final-cta p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.final-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float .whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ---------- Loading Skeleton ---------- */
.pricing-skeleton {
    background: linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-card-hover) 50%, var(--color-bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
    min-height: 400px;
}

@keyframes skeleton-shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .services-table {
        display: block;
        overflow-x: auto;
    }

    .custom-quote {
        padding: 2.5rem 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .trust-badge-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .final-cta {
        padding: 3rem 1.5rem;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .price-min {
        font-size: 1.6rem;
    }

    .pricing-category h2 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Login Modal — Half-Screen Slide-Up Panel
   ========================================================================== */

/* Overlay */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Panel */
.login-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: linear-gradient(170deg, #151b30 0%, #0d1120 100%);
    border-top: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    padding: 2rem 1.5rem 3rem;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

.login-overlay.active+.login-panel,
.login-panel.active {
    transform: translateY(0);
}

/* Drag handle */
.login-panel-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

/* Close btn */
.login-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.login-close:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

/* Branding */
.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-brand .login-icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.login-brand h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.login-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Selected plan badge */
.login-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-accent-glow);
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Steps container */
.login-step {
    display: none;
    max-width: 380px;
    margin: 0 auto;
    animation: loginFadeIn 0.35s ease;
}

.login-step.active {
    display: block;
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input styles */
.login-input-group {
    margin-bottom: 1.25rem;
}

.login-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.login-phone-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.login-phone-wrap:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 200, 0.08);
}

.login-phone-prefix {
    padding: 0.85rem 0.75rem 0.85rem 1rem;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1rem;
    background: rgba(0, 255, 200, 0.04);
    border-right: 1px solid var(--color-border);
    user-select: none;
    white-space: nowrap;
}

.login-phone-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-heading);
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    letter-spacing: 0.05em;
}

.login-phone-wrap input::placeholder {
    color: var(--color-text-muted);
    letter-spacing: 0;
}

/* OTP inputs */
.login-otp-boxes {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-otp-boxes input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-heading);
    outline: none;
    transition: all 0.2s ease;
}

.login-otp-boxes input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 200, 0.1);
    background: rgba(0, 255, 200, 0.03);
}

.login-otp-boxes input.filled {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Action button */
.login-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--color-bg-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 200, 0.35);
}

.login-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Spinner */
.login-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--color-bg-primary);
    border-radius: 50%;
    animation: loginSpin 0.6s linear infinite;
    display: none;
}

.login-btn.loading .login-spinner {
    display: inline-block;
}

.login-btn.loading .login-btn-text {
    display: none;
}

@keyframes loginSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Resend / Timer */
.login-otp-footer {
    text-align: center;
    margin-top: 1rem;
}

.login-otp-footer span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.login-resend-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-resend-btn:disabled {
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: not-allowed;
}

/* Error msg */
.login-error {
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
    min-height: 1.2em;
}

/* Success step */
.login-success-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 255, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
    animation: loginSuccessPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes loginSuccessPop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.login-success-text {
    text-align: center;
}

.login-success-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.login-success-text p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Name input for new users */
.login-name-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-heading);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 0.5rem;
}

.login-name-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 200, 0.08);
}

/* Responsive */
@media (max-width: 480px) {
    .login-panel {
        padding: 1.5rem 1.25rem 2.5rem;
    }

    .login-otp-boxes input {
        width: 44px;
        height: 50px;
        font-size: 1.3rem;
    }

    .login-brand h3 {
        font-size: 1.15rem;
    }
}