/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Hassad Popup Fixes */
.hassad-popup-title { text-align: right !important; }
.hassad-popup-subtitle { text-align: right !important; }
.hassad-popup-box { max-height: 90vh; overflow-y: auto; }
.hassad-popup-box .wpcf7-response-output {
    margin-top: 14px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    text-align: right;
    border: none !important;
    background: #f0f9f0;
    color: #1f402d;
}
.hassad-popup-box .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
}

/* Hassad Popup Fixes */
.hassad-popup-title { text-align: right !important; }
.hassad-popup-subtitle { text-align: right !important; }
.hassad-popup-box { max-height: 90vh; overflow-y: auto; }
.hassad-popup-box .wpcf7-response-output {
    margin-top: 14px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    text-align: right;
    border: none !important;
    background: #f0f9f0;
    color: #1f402d;
}
.hassad-popup-box .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
}

/* Hassad Popup - Strong Overrides */
.hassad-popup-overlay { align-items: center !important; }
.hassad-popup-box {
    max-height: 85vh !important;
    overflow-y: auto !important;
    padding-bottom: 28px !important;
}
.hassad-popup-box .wpcf7-response-output {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin: 14px 0 0 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    border: 1px solid #c3e6cb !important;
    background: #d4edda !important;
    color: #155724 !important;
    text-align: right !important;
}
.hassad-popup-box .wpcf7-form.invalid .wpcf7-response-output {
    border-color: #f5c6cb !important;
    background: #f8d7da !important;
    color: #721c24 !important;
}
.hassad-popup-box .wpcf7 input[type=submit],
.hassad-popup-box .wpcf7 input[type=submit]:hover,
.hassad-popup-box .wpcf7 .wpcf7-submit {
    background: #1f402d !important;
    color: #e7c878 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    width: 100% !important;
    margin-top: 14px !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.hassad-popup-box .wpcf7 .wpcf7-submit:hover {
    background: #e7c878 !important;
    color: #1f402d !important;
}

/* Hassad CF7 Response Message Text Fix */
.hassad-popup-box .wpcf7-response-output * ,
.hassad-popup-box .wpcf7-response-output {
    color: #155724 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: right !important;
    min-height: 20px !important;
}
.hassad-popup-box .wpcf7-form.invalid .wpcf7-response-output,
.hassad-popup-box .wpcf7-form.invalid .wpcf7-response-output * {
    color: #721c24 !important;
}
/* Remove the inline warning icon inside input */
.hassad-popup-box .wpcf7-form-control-wrap .wpcf7-not-valid-tip { display: block !important; }
.hassad-popup-box span.wpcf7-form-control-wrap::after { display: none !important; }
