/**
* SHG Real Estate Plugin - Public CSS
*
* Most styling is in the theme's main.css. This file adds plugin-specific
* styles that should work even with non-SHG themes.
*/

/* Payment summary card on booking form */
.shg-payment-summary {
    background: linear-gradient(135deg, #E11546 0%, #F03A66 100%);
        color: #ffffff;
        padding: 25px 30px;
        border-radius: 10px;
        margin-bottom: 30px;
        text-align: center;
    }
    .shg-payment-summary h4 {
        margin: 0 0 10px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        opacity: 0.9;
    }
    .shg-payment-summary .amount {
        font-size: 38px;
        font-weight: 800;
        color: #ffffff;
        line-height: 1;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    .shg-payment-summary p {
        margin: 0;
        opacity: 0.85;
        font-size: 13px;
    }

    /* Section title inside booking form */
    .shg-form-section-title {
        font-size: 17px;
        font-weight: 600;
        color: #E11546;
        padding: 14px 0 10px;
        margin: 25px 0 18px;
        border-bottom: 2px solid #0073B6;
    }
    .shg-form-section-title i {
        color: #0073B6;
        margin-right: 8px;
    }
    .shg-form-section-title:first-child {
        margin-top: 0;
    }

    /* Required indicator */
    .required {
        color: #d63638;
        font-weight: 700;
    }

    /* Checkbox declaration */
    .shg-checkbox-wrap {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 16px;
        background: #fef9e7;
        border-left: 4px solid #0073B6;
        border-radius: 6px;
        margin: 20px 0;
    }
    .shg-checkbox-wrap input[type="checkbox"] {
        margin-top: 4px;
        transform: scale(1.2);
        flex-shrink: 0;
    }
    .shg-checkbox-wrap label {
        margin: 0;
        cursor: pointer;
        font-size: 13px;
        line-height: 1.6;
    }
    .shg-checkbox-wrap a {
        color: #E11546;
        text-decoration: underline;
    }

    /* Submit row */
    .shg-form-submit-row {
        margin-top: 25px;
        text-align: center;
    }

    /* Form messages */
    .shg-form-message {
        margin-bottom: 20px;
    }
    .shg-form-message:empty { display: none; }
    .shg-message-success,
    .shg-message-error {
        padding: 14px 18px;
        border-radius: 6px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .shg-message-success {
        background: #d1fae5;
        color: #065f46;
        border: 1px solid #6ee7b7;
    }
    .shg-message-error {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fca5a5;
    }

    /* Loading state on submit button */
    .shg-btn-loading {
        opacity: 0.7;
        pointer-events: none;
        position: relative;
    }
    .shg-btn-loading::after {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-left: 10px;
        border: 2px solid rgba(255,255,255,0.3);
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: shg-spin 0.6s linear infinite;
        vertical-align: middle;
    }
    @keyframes shg-spin {
        to { transform: rotate(360deg); }
    }
