/* Functional enhancement only: preserve the existing property-detail theme. */
#property-viewing-request-form .is-invalid {
    border-color: #dc3545 !important;
}

.listing-viewing-error {
    display: block;
    min-height: 16px;
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.3;
    color: #b42318;
}

.listing-viewing-status {
    margin: 0 0 15px;
    padding: 11px 14px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.listing-viewing-status.is-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.listing-viewing-status.is-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

.listing-viewing-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Align viewing-form icons while preserving the existing theme controls. */
#property-viewing-request-form .cs-intputwrap {
    position: relative;
}

#property-viewing-request-form .cs-intputwrap > i {
    top: 28px;
    left: 20px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
}
