﻿.register-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 0;
}

.register-header {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.section-label {
    margin-bottom: 0.75rem;
    color: #5f6368;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.register-header h1,
.success-panel h1 {
    margin-bottom: 1rem;
    color: #111;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.register-introduction {
    max-width: 720px;
    margin: 0;
    color: #555;
    font-size: 1.15rem;
    line-height: 1.7;
}

.form-section {
    padding: 2.5rem 0;
    border-top: 1px solid #dedede;
}

.section-heading {
    margin-bottom: 2rem;
}

    .section-heading > span {
        padding-top: 0.2rem;
        color: #777;
        font-size: 0.8rem;
        font-weight: 700;
    }

    .section-heading h2 {
        margin: 0 0 0.45rem;
        color: #171717;
        font-size: 1.45rem;
        font-weight: 650;
    }

    .section-heading p {
        max-width: 670px;
        margin: 0;
        color: #666;
        line-height: 1.6;
    }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

    .form-field:last-child {
        margin-bottom: 0;
    }

    .form-field label {
        display: block;
        margin-bottom: 0.55rem;
        color: #222;
        font-weight: 600;
    }

.required {
    color: #b42318;
}

.form-control {
    min-height: 3.25rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid #c9c9c9;
    border-radius: 0.4rem;
    background: #fff;
    color: #171717;
    box-shadow: none;
}

    .form-control:focus {
        border-color: #222;
        box-shadow: 0 0 0 0.18rem rgba(0, 0, 0, 0.1);
    }

.text-area-large {
    min-height: 180px;
    resize: vertical;
}

.text-area-medium {
    min-height: 130px;
    resize: vertical;
}

.field-help {
    margin: 0.6rem 0 0;
    color: #6b6b6b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.field-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.45rem;
    color: #777;
    font-size: 0.82rem;
}

.validation-message,
.custom-validation-message {
    display: block;
    margin-top: 0.45rem;
    color: #b42318;
    font-size: 0.88rem;
}

.interest-options {
    display: grid;
    gap: 1rem;
}

.interest-option {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.25rem;
    border: 1px solid #d3d3d3;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

    .interest-option:hover {
        border-color: #777;
        background: #fafafa;
    }

    .interest-option input {
        width: 1.15rem;
        height: 1.15rem;
        margin-top: 0.15rem;
        flex-shrink: 0;
    }

    .interest-option strong {
        display: block;
        margin-bottom: 0.3rem;
        color: #171717;
        font-weight: 650;
    }

    .interest-option small {
        display: block;
        color: #666;
        font-size: 0.92rem;
        line-height: 1.5;
    }

.early-tester-section {
    margin-top: 0;
}

.upload-panel {
    padding: 1.5rem;
    border: 1px solid #d8d8d8;
    border-radius: 0.5rem;
    background: #fafafa;
}

.selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #d2d2d2;
    border-radius: 0.4rem;
    background: #fff;
}

    .selected-file strong,
    .selected-file span {
        display: block;
    }

    .selected-file strong {
        overflow-wrap: anywhere;
    }

    .selected-file span {
        margin-top: 0.2rem;
        color: #6a6a6a;
        font-size: 0.85rem;
    }

.remove-file-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #a11b12;
    font-weight: 600;
}

    .remove-file-button:hover {
        text-decoration: underline;
    }

.authorisation-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1.4rem;
    color: #333;
    line-height: 1.55;
}

    .authorisation-checkbox input {
        width: 1.1rem;
        height: 1.1rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

.privacy-section {
    padding: 2.5rem;
    border-radius: 0.6rem;
    background: #f3f3f1;
}

    .privacy-section h2 {
        margin-bottom: 1rem;
        color: #171717;
        font-size: 1.35rem;
        font-weight: 650;
    }

    .privacy-section p {
        color: #555;
        line-height: 1.65;
    }

        .privacy-section p:last-child {
            margin-bottom: 0;
        }

.privacy-note {
    font-weight: 600;
}

.submit-section {
    padding-top: 2rem;
}

.submit-button {
    min-width: 230px;
    min-height: 3.25rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    border-radius: 0.35rem;
    font-weight: 600;
}

.submit-section p {
    margin: 0.8rem 0 0;
    color: #717171;
    font-size: 0.85rem;
}

.success-panel {
    max-width: 730px;
    padding: 3rem;
    border: 1px solid #d8d8d8;
    border-radius: 0.6rem;
    background: #fff;
}

    .success-panel p {
        color: #555;
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .success-panel .btn {
        margin-top: 1rem;
        padding: 0.8rem 1.4rem;
    }

@media (max-width: 767.98px) {
    .register-page {
        padding: 3rem 0;
    }

    .register-header {
        margin-bottom: 2.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-section {
        padding: 2rem 0;
    }

    .privacy-section,
    .success-panel {
        padding: 1.5rem;
    }

    .submit-button {
        width: 100%;
    }

    .selected-file {
        align-items: flex-start;
        flex-direction: column;
    }
}
