﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.page-background {
    min-height: 100vh;
    background: linear-gradient(135deg, #38B6FF 0%, #5EC896 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    position: relative;
}

    .page-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }

.main-card {
    width: 100%;
    max-width: 1400px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card-inner {
    display: flex;
    min-height: 550px;
}

.brand-section {
    flex: 0.95;
    background: linear-gradient(135deg, #38B6FF 0%, #5EC896 100%);
    padding: 40px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .brand-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: float 20s infinite ease-in-out;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 20px) scale(1.1);
    }
}

.brand-content {
    max-width: 480px;
    width: 100%;
    z-index: 1;
    color: #ffffff;
}

.brand-logo-container {
    text-align: center;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-subtitle {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 32px;
    opacity: 0.95;
    font-weight: 400;
}

.features-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 14px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .feature-item:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(8px);
    }

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .feature-icon svg {
        width: 22px;
        height: 22px;
        color: #ffffff;
    }

.feature-text h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 13px;
    opacity: 0.9;
}

.brand-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.security-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.brand-security span {
    font-size: 13px;
    font-weight: 500;
}

.form-section {
    flex: 1.05;
    background: #ffffff;
    padding: 35px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.form-wrapper {
    width: 100%;
    max-width: 450px;
}

.form-header {
    margin-bottom: 24px;
    text-align: center;
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.form-description {
    font-size: 14px;
    color: #6b7280;
}

.result-message {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    text-align: center;
}

    .result-message .message {
        color: #10b981;
        font-weight: 500;
        font-size: 14px;
    }

.account-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    background: #f9fafb;
    padding: 5px;
    border-radius: 10px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

    .toggle-btn.active {
        background: #ffffff;
        border-color: #38B6FF;
        color: #38B6FF;
        box-shadow: 0 2px 8px rgba(56, 182, 255, 0.15);
    }

.toggle-icon {
    width: 17px;
    height: 17px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 9px;
    transition: all 0.3s ease;
    padding: 0 13px;
    height: 46px;
}

    .input-wrapper:focus-within {
        background: #ffffff;
        border-color: #38B6FF;
        box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.1);
    }

.field-icon {
    width: 17px;
    height: 17px;
    color: #9ca3af;
    margin-right: 10px;
    flex-shrink: 0;
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    outline: none;
    font-family: inherit;
}

    .form-input::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

.visibility-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 5px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .visibility-toggle:hover {
        background: rgba(56, 182, 255, 0.1);
    }

    .visibility-toggle svg {
        width: 17px;
        height: 17px;
        color: #9ca3af;
    }

.platform-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.platform-option input[type="radio"] {
    display: none;
}

.platform-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
    font-size: 13px;
}

.platform-option input[type="radio"]:checked + .platform-card {
    background: #ffffff;
    border-color: #38B6FF;
    color: #38B6FF;
    box-shadow: 0 2px 8px rgba(56, 182, 255, 0.15);
}

.platform-icon {
    width: 20px;
    height: 20px;
}

.password-requirements {
    background: #f9fafb;
    border-radius: 8px;
    padding: 9px 12px;
    margin-top: -5px;
    margin-bottom: 12px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 3px 0;
}

.req-icon {
    width: 13px;
    height: 13px;
    color: #d1d5db;
    font-size: 11px;
    flex-shrink: 0;
}

.requirement.met .req-icon {
    color: #5EC896;
}

    .requirement.met .req-icon::before {
        content: '✓';
    }

.req-text {
    font-size: 12px;
    color: #6b7280;
}

.requirement.met .req-text {
    color: #5EC896;
}

.validation-message {
    font-size: 12px;
    color: #ef4444;
    text-align: center;
    margin: 10px 0;
    min-height: 16px;
    font-weight: 500;
}

.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #38B6FF 0%, #5EC896 100%);
    border: none;
    border-radius: 9px;
    padding: 13px;
    margin: 18px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(56, 182, 255, 0.3);
}

    .submit-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(56, 182, 255, 0.4);
    }

    .submit-button:active:not(:disabled) {
        transform: translateY(0);
    }

    .submit-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.button-arrow {
    width: 17px;
    height: 17px;
    transition: transform 0.3s ease;
}

.submit-button:hover:not(:disabled) .button-arrow {
    transform: translateX(4px);
}

.signin-prompt {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
}

.signin-link {
    color: #38B6FF;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
    transition: color 0.2s ease;
}

    .signin-link:hover {
        color: #2ea5f0;
        text-decoration: underline;
    }

.form-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
}

.footer-help {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.footer-link {
    color: #38B6FF;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .footer-link:hover {
        color: #2ea5f0;
        text-decoration: underline;
    }

.footer-copyright {
    font-size: 11px;
    color: #9ca3af;
}


@media (max-width: 1024px) {
    .page-background {
        padding: 20px;
    }

    .main-card {
        max-width: 900px;
    }

    .card-inner {
        flex-direction: column;
        min-height: auto;
    }

    .brand-section {
        padding: 35px 30px;
    }

    .brand-content {
        max-width: 100%;
    }

    .brand-title {
        font-size: 32px;
    }

    .brand-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 14px;
        gap: 10px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
    }

        .feature-icon svg {
            width: 20px;
            height: 20px;
        }

    .feature-text h3 {
        font-size: 13px;
    }

    .feature-text p {
        font-size: 11px;
    }

    .form-section {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .page-background {
        padding: 15px;
    }

    .main-card {
        border-radius: 20px;
    }

    .brand-section {
        padding: 28px 24px;
    }

    .brand-logo-container {
        padding: 20px;
        margin-bottom: 20px;
    }

    .brand-logo {
        max-width: 200px;
    }

    .brand-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .brand-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
        padding: 12px 14px;
        gap: 12px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }

    .feature-text h3 {
        font-size: 14px;
    }

    .feature-text p {
        font-size: 12px;
    }

    .form-section {
        padding: 28px 20px;
    }

    .form-wrapper {
        max-width: 100%;
    }

    .form-title {
        font-size: 24px;
    }

    .form-description {
        font-size: 14px;
    }

    .input-wrapper {
        height: 46px;
    }
}

@media (max-width: 480px) {
    .page-background {
        padding: 10px;
    }

    .main-card {
        border-radius: 16px;
    }

    .brand-section {
        padding: 24px 20px;
    }

    .brand-logo {
        max-width: 170px;
    }

    .brand-title {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 13px;
    }

    .brand-security {
        padding: 12px;
    }

        .brand-security span {
            font-size: 12px;
        }

    .form-section {
        padding: 24px 18px;
    }

    .form-title {
        font-size: 22px;
    }

    .account-type-toggle {
        gap: 8px;
    }

    .toggle-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .platform-select {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 12px;
    }

    .submit-button {
        padding: 13px;
        font-size: 14px;
    }
}

.platform-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    justify-content: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .platform-badges {
        gap: 10px;
        margin-bottom: 20px;
    }

    .badge-item {
        padding: 8px 14px;
        font-size: 12px;
    }

    .badge-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .platform-badges {
        margin-bottom: 16px;
    }
}

.footer-disclaimer {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 6px auto 10px;
    max-width: 520px; 
}

@media (max-width: 480px) {
    .footer-disclaimer {
        font-size: 11px;
        padding: 0 8px; 
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1000;
}

    .modal-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.modal-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    transform: translateY(-6px) scale(.98);
    transition: transform .2s ease;
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.modal-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 182, 255, 0.12);
    color: #38B6FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.modal-body {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    padding: 4px 2px 12px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-btn {
    min-width: 76px;
    background: linear-gradient(135deg, #38B6FF 0%, #5EC896 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(56, 182, 255, 0.25);
}

    .modal-btn:focus {
        outline: 2px solid rgba(56, 182, 255, 0.35);
        outline-offset: 2px;
    }

    .modal-btn:hover {
        filter: brightness(0.98);
    }

.submit-button .spinner {
    display: none;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    animation: btnspin .6s linear infinite;
}

.submit-button.loading .spinner {
    display: inline-block;
}

.submit-button.loading .button-arrow {
    display: none;
}

@keyframes btnspin {
    to {
        transform: rotate(360deg);
    }
}
#consentModal .modal-actions .modal-btn + .modal-btn {
    margin-left: 10px;
}

.privacy-floating-link {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.92);
    color: #0B5FFF;
    padding: 8px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(3, 7, 18, 0.08);
    border: 1px solid rgba(11, 95, 255, 0.08);
    backdrop-filter: blur(6px);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-floating-link:hover,
.privacy-floating-link:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 7, 18, 0.12);
    background: #fff;
    color: #0847c5;
    outline: none;
}

.privacy-floating-link:focus {
    outline: 3px solid rgba(11, 95, 255, 0.16);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .privacy-floating-link {
        right: 12px;
        bottom: 12px;
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 10px;
    }
}