/* ==========================================================================
   ADCELERO 2.0 - COMPLETE DESIGN SYSTEM & PLAY ENGINE ASSETS (WITH ALIASES)
   ========================================================================== */

:root {
    --bg-dark: #0b0f17;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 36, 56, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.3);

    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --primary-violet: #7000ff;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7000ff 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0,242,254,0.15) 0%, rgba(112,0,255,0.15) 100%);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body, .adcelero-v2-body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* Ambient Glow Backgrounds */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(112, 0, 255, 0) 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    top: 600px;
    right: -100px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header, .header-v2 {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo, .logo-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-right: 36px;
}

.logo-icon {
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-accent { color: var(--primary-cyan); }

.nav-links { display: flex; gap: 32px; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary-cyan); }

.nav-actions { display: flex; gap: 12px; }

/* Buttons */
.btn, .btn-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
}

.btn-primary, .btn-primary-v2 {
    background: var(--gradient-primary);
    color: #040810;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover, .btn-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 242, 254, 0.45);
}

.btn-outline, .btn-outline-v2 {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover, .btn-outline-v2:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.05);
}

.btn-search, .btn-search-submit {
    background: var(--gradient-primary);
    color: #040810;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; font-weight: 700; }

/* Hero Section */
.hero, .hero-v2 {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge, .badge-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.hero-title, .hero-title-v2 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero-subtitle, .hero-subtitle-v2 {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 48px;
}

/* Domain Search Bar Card */
.search-card, .search-card-v2 {
    width: 100%;
    max-width: 820px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-card:focus-within, .search-card-v2:focus-within {
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.15);
}

.search-form, .search-form-v2 {
    display: flex;
    gap: 12px;
    width: 100%;
}

.input-wrapper, .input-wrapper-v2 {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(11, 15, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0 20px;
    min-width: 0;
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    opacity: 0.6;
    flex-shrink: 0;
}

.input-wrapper input, .input-wrapper-v2 input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    padding: 16px 0;
    min-width: 0;
    width: 100%;
}

.input-wrapper input::placeholder, .input-wrapper-v2 input::placeholder {
    color: var(--text-dim);
}

.tld-suffix {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: 1.1rem;
    padding-left: 8px;
    flex-shrink: 0;
}

.tld-badges, .tld-badges-v2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tld-badge, .tld-badge-v2 {
    padding: 6px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.tld-badge small, .tld-badge-v2 small {
    display: inline-block;
    margin-left: 4px;
    opacity: 0.65;
    font-weight: 400;
}

.tld-badge:hover, .tld-badge.active,
.tld-badge-v2:hover, .tld-badge-v2.active {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* Validation Messages */
.validation-msg {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    animation: fadeIn 0.25s ease forwards;
}

/* Search Results Box */
.search-results-container {
    width: 100%;
    max-width: 820px;
    margin-top: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--primary-cyan);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: left;
    animation: fadeIn 0.3s ease forwards;
}

.hidden { display: none !important; }

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

.result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.domain-name-res {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    word-break: break-all;
}

.status-tag {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-available {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-taken {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.result-prices {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.price-value {
    color: var(--text-main);
    font-weight: 700;
}

/* Bulk Transfer Section */
.transfer-section {
    background: rgba(18, 24, 38, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.transfer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.transfer-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.transfer-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.transfer-textarea {
    width: 100%;
    background: rgba(11, 15, 23, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--primary-cyan);
    font-family: monospace;
    font-size: 1rem;
    padding: 16px;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.transfer-textarea:focus {
    border-color: var(--primary-cyan);
}

.domain-count-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Provider Radio Selectors */
.provider-selector-wrap {
    margin-top: 16px;
}

.provider-label-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.provider-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.provider-radio-label {
    cursor: pointer;
    display: block;
}

.provider-radio-label input {
    display: none;
}

.provider-radio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-align: center;
}

.provider-radio-box .provider-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.provider-radio-box .provider-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.provider-radio-label input:checked + .provider-radio-box {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.provider-radio-label input:checked + .provider-radio-box .provider-name {
    color: var(--primary-cyan);
}

.provider-radio-label input:checked + .provider-radio-box .provider-price {
    color: #a5f3fc;
}

/* Savings Breakdown */
.savings-breakdown {
    background: rgba(11, 15, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.cost-old {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.05rem;
}

.cost-new {
    color: #10b981;
    font-weight: 700;
    font-size: 1.05rem;
}

.breakdown-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 12px 0;
}

.highlight-savings {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
}

.savings-amount {
    color: var(--primary-cyan);
    font-size: 1.25rem;
    font-weight: 800;
}

/* Section Shared */
.section { padding: 90px 0; }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-tag {
    color: var(--primary-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.feature-icon { font-size: 2rem; margin-bottom: 20px; }

/* Comparison Table Card */
.comparison-card, .comparison-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-header, .comparison-header-v2,
.comparison-row, .comparison-row-v2 {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    padding: 20px 28px;
    align-items: center;
}

.comparison-header, .comparison-header-v2 {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.comparison-row, .comparison-row-v2 {
    border-bottom: 1px solid var(--border-color);
}

.highlight-row, .highlight-row-v2 {
    background: rgba(0, 242, 254, 0.05);
    border-left: 4px solid var(--primary-cyan);
}

.tag-honest {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Responsive Table Container & Pricing Table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.pricing-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.pricing-table th, .pricing-table td {
    padding: 18px 28px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.desktop-txt {
    display: inline;
}

.mobile-txt {
    display: none;
}

.free-text {
    color: #10b981;
    font-weight: 700;
}

/* API Code Box */
.api-section {
    background: rgba(18, 24, 38, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.code-box {
    background: #060911;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red { background-color: #ef4444; }
.code-dot.yellow { background-color: #f59e0b; }
.code-dot.green { background-color: #10b981; }

.code-box pre {
    padding: 20px;
    color: #e2e8f0;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.code-comment { color: #64748b; }
.code-key { color: #38bdf8; }
.code-str { color: #a5f3fc; }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 8, 16, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: #111726;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.25s ease forwards;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-body { padding: 24px; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE FIRST & BREAKPOINTS)
   ========================================================================== */

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .hero-title, .hero-title-v2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-links { display: none; }
    .nav-actions { gap: 8px; }
    .btn-v2 { padding: 8px 16px; font-size: 0.85rem; }

    .logo, .logo-v2 {
        margin-right: 0;
        font-size: 1.3rem;
    }

    .hero, .hero-v2 {
        padding: 48px 0 40px;
    }

    .hero-title, .hero-title-v2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-subtitle, .hero-subtitle-v2 {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    /* RWD Formularza Wyszukiwania - pionowy układ, 100% szerokości, brak overflow */
    .search-card, .search-card-v2 {
        padding: 12px;
        width: 100%;
        border-radius: var(--radius-md);
    }

    .search-form, .search-form-v2 {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .input-wrapper, .input-wrapper-v2 {
        width: 100%;
        padding: 0 14px;
    }

    .input-wrapper input, .input-wrapper-v2 input {
        font-size: 0.95rem;
        padding: 12px 0;
    }

    .search-form button, .search-form-v2 button,
    .btn-search, .btn-search-submit {
        width: 100%;
        margin-top: 4px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .tld-badges, .tld-badges-v2 {
        gap: 6px;
        margin-top: 12px;
    }

    .tld-badge, .tld-badge-v2 {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }

    .provider-radio-group {
        grid-template-columns: 1fr;
    }

    .transfer-card {
        padding: 20px;
    }

    .comparison-card, .comparison-card-v2 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-header, .comparison-header-v2,
    .comparison-row, .comparison-row-v2 {
        min-width: 500px;
        padding: 14px 18px;
    }

    .pricing-table th, .pricing-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .section { padding: 50px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.85rem; }
}

@media (max-width: 640px) {
    .desktop-txt {
        display: none !important;
    }
    .mobile-txt {
        display: inline !important;
    }
    .pricing-table {
        min-width: 480px;
    }
    .pricing-table th, .pricing-table td {
        padding: 10px 10px;
        font-size: 0.82rem;
    }
    .pricing-table th:first-child, .pricing-table td:first-child {
        padding-left: 14px;
    }
    .pricing-table th:last-child, .pricing-table td:last-child {
        padding-right: 14px;
    }
    .pricing-table-wrapper {
        border-radius: var(--radius-md);
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .hero-title, .hero-title-v2 {
        font-size: 1.75rem;
    }

    .logo, .logo-v2 {
        font-size: 1.15rem;
    }

    .nav-actions .btn-outline-v2 {
        display: none;
    }
}

/* ==========================================================================
   AUTHENTICATION & FORM CARD STYLES (Adcelero 2.0)
   ========================================================================== */

.auth-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
}

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

.auth-container-wide {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.auth-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(11, 15, 23, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 16px;
    transition: all 0.2s ease;
}

.auth-input-wrapper:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.auth-input-icon {
    font-size: 1.1rem;
    margin-right: 12px;
    opacity: 0.6;
    flex-shrink: 0;
}

.auth-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 0;
    width: 100%;
    min-width: 0;
}

.auth-input::placeholder {
    color: var(--text-dim);
}

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

@media (max-width: 580px) {
    .auth-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .auth-card {
        padding: 28px 20px;
    }
    .auth-title {
        font-size: 1.6rem;
    }
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.4;
}

.auth-checkbox {
    accent-color: var(--primary-cyan);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.auth-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 12px;
}
