:root {
    --brand-yellow: #FECC16;
    --brand-pink: #FF3A91;
    --brand-pink-dark: #d92f7d;
    --brand-text: #8b2f5e;
}

html,
body {
    min-height: 100%;
}

body.registration-body {
    font-family: Helvetica, Arial, sans-serif;
    background: var(--brand-yellow);
    margin: 0;
    color: var(--brand-pink);
}

.registration-shell {
    width: 100%;
    max-width: 1320px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.visual-panel {
    padding: 22px;
    min-height: 720px;
}

.visual-card {
    width: 100%;
    height: 100%;
    min-height: 676px;
    border-radius: 20px;
    background-image: url(fond.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 28px;
    min-height: 100%;
}

.logo {
    width: 100%;
    max-width: 260px;
    height: auto;
}

h1 {
    font-size: 1.9rem;
    text-align: center;
    color: var(--brand-pink);
}

.form-label {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    color: var(--brand-text);
    font-weight: 600;
}

.custom-input {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    font-size: 1rem;
    box-shadow: none;
}

.custom-input:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 0.2rem rgba(254, 204, 22, 0.22);
}

.consent-box {
    background: #fff8df;
    border: 1px solid #f7df7f;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: var(--brand-text);
}

.consent-box .form-check-input {
    margin-top: 0.25rem;
    accent-color: var(--brand-pink);
}

.btn-main {
    background: var(--brand-pink);
    border-color: var(--brand-pink);
    color: #fff;
    border-radius: 12px;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    font-weight: 600;
}

.btn-main:hover,
.btn-main:focus {
    background: var(--brand-pink-dark);
    border-color: var(--brand-pink-dark);
    color: #fff;
}

.small-link a {
    font-size: 0.9rem;
    color: #ce7098;
    text-decoration: none;
}

.small-link a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    body.registration-body {
        background-image: url(fond.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .registration-shell {
        max-width: 760px;
        border-radius: 22px;
        backdrop-filter: blur(2px);
    }

    .form-panel {
        padding: 28px 22px;
    }
}

@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .registration-shell {
        border-radius: 18px;
    }

    .form-panel {
        padding: 22px 16px;
    }

    .logo {
        max-width: 200px;
    }

    h1 {
        font-size: 1.55rem;
    }

    .custom-input {
        font-size: 16px;
    }

    .consent-box {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
    }
}
