/* Common */
.registration-process-step-list {
    background-color: var(--general-white-100);
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.registration-process-step-list .list-step {
    min-width: 800px;
}

.box-content__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.box-content__header h1 {
    margin-bottom: 0;
}

.box-content__header p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-estate-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 40px;
}

.register-estate-form > div:first-child {
    grid-column: 1 / span 2;
}

.register-estate-form:not(:last-child) {
    border-bottom: 2px solid var(--base-color-100);
}

.list-cb-custom {
    display: grid;
    gap: 12px;
}

.list-cb-custom__four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list-cb-custom__two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group-custom:not(:last-child) {
    margin-bottom: 40px;
}

.form-group-custom > label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--general-black-80);
}

.form-group-custom:first-child > label span {
    align-self: flex-start;
    margin-top: 6px;
}

.form-group-custom:first-child > label {
    font-size: 20px;
}

.input-inline {
    display: flex;
    align-items: center;
    gap: 16px;
}

.input-inline span {
    font-weight: 500;
    font-size: 16px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--general-black-100);
    white-space: nowrap;
}

.form__note {
    font-weight: 400;
    font-size: 14px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--general-black-100);
    margin-bottom: 20px;
}
/* Common */

.register-estate__body > h2,
.register-estate__steps > h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--brand-100);
}

.register-estate__body > h2,
.register-estate__body > p:not(.register-estate__warning),
.register-estate__steps {
    margin-bottom: 24px;
}

.register-estate__body .register-estate__steps {
    border: 1px solid var(--general-black-20);
    border-radius: 20px;
    background-color: var(--general-white-100);
    padding: 32px 0px;
}

.register-estate__steps > h2 {
    text-align: center;
    margin-bottom: 32px;
}

.register-estate__warning {
    color: var(--error-color-100);
    font-weight: 400;
    font-size: 16px;
    line-height: 176%;
    letter-spacing: 0.4px;
    text-align: right;
    margin: 0;
}

.btn-start-registration {
    min-width: 320px;
    height: 59px;
    font-weight: 700;
    font-size: 20px;
}

.box-content.estate-draft {
    padding: 32px 40px;
    margin-bottom: 64px;
}

.list-estate-draft {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.estate-draft__body > h2 {
    margin-bottom: 24px;
}

.estate-draft-item {
    border-radius: 20px;
    padding: 32px;
    border: 2px solid var(--general-black-20);
}

.estate-draft-item__header {
    display: flex;
    justify-content: space-between;
}

.estate-draft-item__header .show-more-link {
    display: none;
}

.estate-draft-item__header .btn-circle-large {
    height: 41px;
    font-size: 14px;
    padding: 8.5px 10px 8.5px 15px;
}

.estate-draft-item__name {
    font-weight: 700;
    font-size: 16px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--text-color-100);
    margin-bottom: 16px;
}

.estate-draft-item__address {
    display: flex;
    gap: 4px;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--general-black-80);
    margin-bottom: 16px;
}

.estate-draft-item__date {
    font-weight: 700;
    font-size: 12px;
    line-height: 176%;
    letter-spacing: 0.4px;
    color: var(--general-black-60);
    margin-bottom: 0px;
}

.modal-confirm-step1-estate {
    .modal-confirm-title {
        color: #D90404;
        font-size: 20px;
    }

    .btn-confirm-delete-custom {
        height: 52px !important;
    }

    .footer-modal-confirm {
        margin-top: 2rem;
    }

    .footer-modal-confirm button {
        width: 175px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    /* Common */
    .registration-process-step-list {
        padding: 10px 16px;
    }

    .registration-process-step-list .list-step {
        min-width: 343px;
    }

    .register-estate-form {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 16px;
        padding: 20px 16px;
    }

    .register-estate-form > div:last-child {
        display: none;
    }

    .form-group-custom > label {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 16px;
    }

    .form-group-custom:first-child > label {
        font-size: 16px;
    }

    .form-group-custom:first-child > label span {
        margin: 0;
    }

    .list-cb-custom__four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form__note {
        margin-bottom: 16px;
    }

    /* Common */

    .box-content {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .register-estate__body > h2, 
    .register-estate__steps > h2 {
        font-size: 20px;
        text-align: center;
        white-space: pre-wrap;
    }

    .register-estate__body > p:not(.register-estate__warning) {
        font-size: 16px;
    }

    .register-estate__body .register-estate__steps {
        border-radius: 10px;
        padding: 20px;
    }

    .register-estate__steps > h2 {
        margin-bottom: 10px;
    }

    .register-estate__warning {
        font-size: 14px;
        text-align: left;
    }

    .box-content__footer {
        margin-bottom: 60px;
    }

    .box-content__nav {
        flex-direction: column-reverse;
    }

    .box-content__nav > div {
        width: 100%;
    }

    .btn-circle-large.with-icon-right .icon {
        width: 24px;
        height: 24px;
        right: 16px;
    }

    .btn-start-registration {
        width: 100%;
        margin-bottom: 24px;
    }

    .box-content.estate-draft {
        padding: 20px 16px;
        margin-bottom: 40px;
    }

    .estate-draft-item {
        border-radius: 12px;
        padding: 16px;
    }

    .estate-draft-item__header {
        margin-bottom: 12px;
    }

    .estate-draft-item__header .show-more-link {
        display: flex;
    }

    .estate-draft-item__header .btn-circle-large {
        display: none;
    }

    .estate-draft-item__name {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .estate-draft-item__address {
        font-size: 12px;
        margin-bottom: 12px;
    }
}