/* ========================================
   REGISTO IMOBILIÁRIA - split layout
   ======================================== */
body.ci-auth-page .ci-footer {
    display: none;
}

body.ci-auth-page .ci-main {
    flex: none;
}

.ci-registo-split {
    display: flex;
    align-items: flex-start;
}

/* ----- Left visual panel ----- */
.ci-registo-visual {
    position: sticky;
    top: 88px;
    flex: 0 0 42%;
    height: calc(100vh - 88px);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
    overflow: hidden;
}

.ci-registo-visual__overlay {
    position: absolute;
    inset: 0;
    background: none;
}

.ci-registo-visual__brand,
.ci-registo-visual__content,
.ci-registo-visual__benefits,
.ci-registo-visual__quote {
    position: relative;
    z-index: 1;
}

.ci-registo-visual__brand {
    font-family: Georgia, 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}

.ci-registo-visual__brand small {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    opacity: 0.75;
    margin-top: 2px;
}

.ci-registo-visual__content h2 {
    font-family: Georgia, 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    max-width: 420px;
}

.ci-registo-visual__benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ci-registo-visual__benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ci-registo-visual__benefit svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #c9a84c;
}

.ci-registo-visual__benefit strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.ci-registo-visual__benefit span {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.4;
}

.ci-registo-visual__quote {
    background: rgba(0,0,0,0.35);
    border-left: 2px solid #c9a84c;
    padding: 16px 20px;
    max-width: 300px;
}

.ci-registo-visual__quote p {
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* ----- Right form panel ----- */
.ci-registo-panel {
    flex: 1 1 58%;
    min-height: 100vh;
    background: var(--ci-white, #ffffff);
    position: relative;
}

.ci-registo-panel__create {
    position: absolute;
    top: 32px;
    right: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    z-index: 2;
}

.ci-registo-panel__create span {
    color: #6b7280;
}

.ci-registo-panel__create a {
    border: 1px solid #d8dce3;
    color: #1a2436;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ci-registo-panel__create a:hover {
    background: #061532;
    border-color: #061532;
    color: #fff;
}

.ci-registo-panel__scroll {
    max-width: 560px;
    margin: 0 auto;
    padding: 90px 48px 64px;
}

/* ----- Frame do formulário: cartão com o banner Carlo International no topo ----- */
.ci-registo-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(6,21,50,0.12);
    overflow: hidden;
}

.ci-registo-card__cover {
    height: 130px;
    background-color: #061532;
    background-image: url('../images/banners/carlo-international-banner.png');
    background-size: cover;
    background-position: center;
}

.ci-registo-card__body {
    padding: 32px 40px 40px;
}

.ci-registo-panel__title h1 {
    font-family: Georgia, 'Playfair Display', serif;
    color: #1a2436;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ci-registo-panel__title p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 32px;
}

/* ----- Light theme for the existing form (fields unchanged, only reskinned) ----- */
.ci-registo-panel .ci-form-section {
    border-top-color: #e5e7eb;
}

.ci-registo-panel .ci-form-section__title {
    color: #1a2436;
    font-size: 18px;
}

.ci-registo-panel .ci-form-group label,
.ci-registo-panel .ci-checkbox-label,
.ci-registo-panel .ci-form-consent .ci-checkbox-label {
    color: #33415c;
}

.ci-registo-panel .ci-input {
    background: #f7f8f9;
    border: 1px solid #dde1e8;
    color: #1a2436;
}

.ci-registo-panel .ci-input::placeholder {
    color: #9aa5b8;
}

.ci-registo-panel .ci-input:focus {
    background: #ffffff;
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.ci-registo-panel .ci-input[type="file"] {
    padding: 10px 14px;
    color: #6b7280;
}

.ci-registo-panel select.ci-input option {
    background: #ffffff;
    color: #1a2436;
}

.ci-registo-panel .ci-contact-email {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 24px;
}

.ci-registo-panel .ci-contact-email a {
    color: #c9a84c;
}

.ci-registo-panel__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
}

.ci-registo-panel__back:hover {
    color: #c9a84c;
}

.ci-registo-escolha-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.ci-registo-escolha-actions .ci-btn {
    flex: 1;
}

.ci-registo-escolha-actions .ci-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ci-account-type-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.ci-account-type-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ci-account-type-card:hover {
    border-color: #c9a84c;
}

.ci-account-type-card.is-selected {
    border-color: #c9a84c;
    background: #fdfaf3;
    box-shadow: 0 0 0 1px #c9a84c;
}

.ci-account-type-card input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #c9a84c;
    flex-shrink: 0;
}

.ci-account-type-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #061532;
    color: #fff;
    flex-shrink: 0;
}

.ci-account-type-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ci-account-type-card__body strong {
    font-size: 14.5px;
    font-weight: 600;
    color: #1a2436;
}

.ci-account-type-card__body span {
    font-size: 12.5px;
    color: #6b7280;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .ci-registo-split {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        overflow: visible;
    }

    .ci-registo-visual {
        display: none;
    }

    .ci-registo-panel {
        height: auto;
        overflow: visible;
    }

    .ci-registo-panel__create {
        position: static;
        justify-content: flex-end;
        padding: 20px 24px 0;
    }

    .ci-registo-panel__scroll {
        padding: 24px 24px 48px;
    }

    .ci-registo-card__cover {
        height: 90px;
    }

    .ci-registo-card__body {
        padding: 24px 24px 28px;
    }
}
