/* ==============================================
   TSGI CONTACT PAGE SPECIFIC STYLES
   =============================================== */

/* MODAL PREVIEW CONTACT FORM STYLES */
.tsgi-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tsgi-modal-overlay.show { opacity: 1; visibility: visible; }
.tsgi-modal-box {
    background: #fff; width: 90%; max-width: 550px; border-radius: 12px;
    padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-30px); transition: transform 0.3s ease;
}
.tsgi-modal-overlay.show .tsgi-modal-box { transform: translateY(0); }

.tsgi-modal-header { border-bottom: 2px solid #f1f1f1; padding-bottom: 15px; margin-bottom: 20px; }
.tsgi-modal-header h3 { margin: 0; color: #333; font-size: 24px; font-weight: 700; }
.tsgi-modal-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.tsgi-modal-body table td { padding: 10px 0; border-bottom: 1px solid #f9f9f9; vertical-align: top; color: #555; }
.tsgi-modal-body table td.lbl { font-weight: 600; width: 35%; color: #333; }

.tsgi-modal-info {
    background: #fcf9f2; 
    border-left: 4px solid #D4AF37; 
    padding: 15px; 
    border-radius: 0 4px 4px 0; 
    margin-bottom: 25px; 
}

.tsgi-modal-actions { display: flex; gap: 15px; justify-content: flex-end; }
.btn-modal-edit { padding: 12px 25px; background: #f1f1f1; color: #333; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-modal-edit:hover { background: #e2e2e2; }
.btn-modal-submit { padding: 12px 30px; background: #D4AF37; color: #fff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-modal-submit:hover { background: #b59226; }

.email-error-msg {
    color: #dc3545; font-size: 13px; margin-top: 5px; display: none; font-weight: 500;
}


/* INFO BOX & EQUAL BUTTONS (Picture Style) */
.tsgi-alert-info-v2 {
    background-color: #fdfaf0;
    border-left: 4px solid #d4ae36; /* Gold color */
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
}
.tsgi-alert-info-v2 div {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.form-actions-equal {
    display: flex;
    gap: 15px;
    width: 100%;
}

.btn-action-gold {
    flex: 1; /* Exactly 50% split */
    background-color: #d1a535; /* Gold brand color */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
}

.btn-action-gold:hover {
    background-color: #b88d2b;
}

.tsgi-privacy-checkbox {
    margin-top: -10px;
    margin-bottom: 25px;
}

.tsgi-privacy-checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.tsgi-privacy-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1a535;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tsgi-privacy-checkbox input[type="checkbox"]:checked {
    background-color: #d1a535;
    border-color: #d1a535;
}

.tsgi-privacy-checkbox input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 576px) {
    .form-actions-equal { flex-direction: column; }
    .btn-action-gold { width: 100%; }
}
