/* =========================================
   BELLANOVA - Registration Page
   ========================================= */

.register {
    display: flex;
    min-height: 100vh;
}

/* --- Left sidebar --- */
.register__sidebar {
    width: 40%;
    background: url('../img/12.png') center / cover no-repeat;
    color: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.register__sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.register__sidebar > * {
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

.register__sidebar > :first-child {
    padding-top: 40px;
}

.register__sidebar > :last-child {
    padding-bottom: 40px;
}

.register__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.register__logo {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lang-selector--register .lang-selector__toggle {
    color: #fff;
}

.register__logo-icon {
    height: 60px;
    width: auto;
    animation: regLogoFromLeft 0.6s ease-out both;
}

.register__logo-text {
    height: 60px;
    width: auto;
    animation: regLogoFromTop 0.6s ease-out 0.2s both;
}

@keyframes regLogoFromLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes regLogoFromTop {
    from { opacity: 0; transform: translateY(-15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.register__sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register__desc {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.65;
    color: #fff;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.register__desc li {
    animation: regFadeUp 0.5s ease-out both;
    padding: 4px 0;
}

.register__desc li:nth-child(1) { animation-delay: 0.3s; }
.register__desc li:nth-child(2) { animation-delay: 0.4s; }
.register__desc li:nth-child(3) { animation-delay: 0.5s; }

.register__brand {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    line-height: 0.85;
    white-space: nowrap;
    animation: regFadeUp 0.7s ease-out 0.7s both;
}

.register__brand small {
    font-size: 0.45em;
    font-weight: 600;
    letter-spacing: 0.15em;
    display: block;
    margin-top: 8px;
    animation: regFadeUp 0.5s ease-out 0.9s both;
}

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

/* --- Right main --- */
.register__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.register__form-wrap {
    width: 100%;
    max-width: 460px;
}

/* --- Steps --- */
.register__steps {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.register__step {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.register__step.active {
    color: var(--color-text);
}

.register__step.done {
    color: #37b716;
}

/* --- Titles --- */
.register__title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.register__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.register__back {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

/* --- Fields --- */
.register__field {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.register__field input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--color-text);
    padding: 10px 0;
}

.register__field input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.register__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* --- Submit --- */
.register__submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 12px 36px;
    background: #37b716;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.register__submit:hover {
    opacity: 0.85;
}

/* --- Error --- */
.register__error {
    font-size: 0.8rem;
    color: #c0392b;
    margin-bottom: 20px;
}

/* --- Login link --- */
.register__login-link {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
}

.register__login-link a {
    color: var(--color-text);
    font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .register {
        flex-direction: column;
    }

    .register__sidebar {
        width: 100%;
        padding: 32px 24px;
        gap: 16px;
    }

    .register__brand {
        font-size: 2.5rem;
    }

    .register__main {
        padding: 40px 24px;
    }

    .register__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
