/**
 * Property Owner Registration - modern layout and typography.
 * Sections: Contact Information, Water Service Address, Water Service Details.
 * Orange Note banner, light blue residential block, primary blue for headings/buttons.
 */

/* Page background and form card (matches admin pages) */
body {
    background-color: #F6F6F6;
}

.registration-page-wrap .property-owner-registration {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 24px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.property-owner-registration .registration-intro {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 20px;
}

.registration-note {
    /*background-color: #FEF3C7;
    border-left: 4px solid #EA580C;*/
    color: #9A3412;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.5;
    /*margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
    */
}

.property-owner-registration .registration-section {
    margin-bottom: 32px;
}

.property-owner-registration .registration-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #0072C3;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0072C3;
}

.property-owner-registration .registration-section-content {
    padding-left: 0;
}

.property-owner-registration .form-group {
    margin-bottom: 18px;
}

.property-owner-registration .form-group label.control-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.property-owner-registration .form-control {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    color: #374151;
}

.property-owner-registration .form-control:focus {
    border-color: #0072C3;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 114, 195, 0.15);
}

/* Light blue block for residential / water service details context */
.property-owner-registration .registration-section.residential-block {
    background-color: #E0F2FE;
    border: 1px solid #b8d8ec;
    border-radius: 8px;
    padding: 20px;
}

.property-owner-registration .registration-section.residential-block .registration-section-title {
    color: #0369A1;
    border-bottom-color: #0369A1;
}

.property-owner-registration .btn-primary#register {
    background: #0072C3;
    border-color: #0072C3;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
}

.property-owner-registration .btn-primary#register:hover {
    background: #005b9d;
    border-color: #005b9d;
}

.property-owner-registration .registration-footer {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.property-owner-registration .registration-footer a {
    color: #0072C3;
}

.registration-logo-wrap {
    margin-bottom: 24px;
}

.property-owner-registration .registration-alert-container {
    margin-bottom: 20px;
}

.property-owner-registration .help-block {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

.property-owner-registration .phone-inputs {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 8px;
    font-size: 15px;
    margin-right: 8px;
}


/* Phone inputs row: flex so they stay on one line and share space (fixes iOS Safari cut-off) */
.property-owner-registration .phone-inputs-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
}

.property-owner-registration .phone-inputs-wrap .phone-inputs {
    flex: 1 1 0;
    min-width: 3ch;
    margin-right: 0;
    max-width: 130px
}

.property-owner-registration fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.property-owner-registration fieldset label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.property-owner-registration #addlOptInWarning {
    font-size: 14px;
}

/* Water provider and confirm water provider selects: same width, not full width */
.property-owner-registration .registration-water-provider-select {
    max-width: 320px;
    width: 100%;
}

.row-top-padding {
    padding-top: 20px;
}
/* align checkboxes */
.highlighted-checkbox {
    margin-left: -15px;
}
@media (max-width: 768px) {
    .highlighted-checkbox {
        margin-left: -10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-control {
        font-size: 16px; /* Prevents iOS zoom on focus */
        height: auto;
        padding: 8px;
    }
    .property-owner-registration .phone-inputs {
        padding: 8px 6px;
        font-size: 16px; /* Prevents iOS zoom on focus, avoids cut-off */
        margin-right: 4px;
    }
    .property-owner-registration .phone-inputs-wrap {
        gap: 6px;
    }
    .property-owner-registration .phone-inputs-wrap .phone-inputs {
        margin-right: 2px;
    }
    .navbar-brand {
        font-size: 18px;
    }
    .alert {
        margin-bottom: 10px;
        padding: 10px;
    }
    .help-block {
        font-size: 12px;
        margin-top: 5px;
    }
    .btn {
        padding: 10px 16px;
        font-size: 16px;
    }
    /* Make submit button full width only on mobile */
    #register {
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-control {
        font-size: 16px; /* Prevents iOS zoom on focus */
        height: auto;
        padding: 8px;
    }
    .property-owner-registration .phone-inputs {
        padding: 8px 6px;
        font-size: 16px; /* Prevents iOS zoom on focus, avoids cut-off */
        margin-right: 2px;
    }
    .property-owner-registration .phone-inputs-wrap {
        gap: 4px;
    }
    .property-owner-registration .phone-inputs-wrap .phone-inputs {
        margin-right: 2px;
    }
    .navbar-brand {
        font-size: 18px;
    }
    .alert {
        margin-bottom: 10px;
        padding: 10px;
    }
    .help-block {
        font-size: 12px;
        margin-top: 5px;
    }
    .btn {
        padding: 10px 16px;
        font-size: 16px;
    }
    /* Make submit button full width only on mobile */
    #register {
        display: block;
        width: 100%;
    }
}