/*------------------------------------------------------*/
/* Common Styles for overall theme
/*------------------------------------------------------*/

/* สไตล์ฟอร์มเดิม */
        .custom-contact-form-wrapper {
            display: flex; justify-content: center; padding: 30px;
            background-color: #f5f6fa; font-family: 'Sarabun', 'Prompt', sans-serif;
        }
        .custom-contact-form-wrapper * { box-sizing: border-box; margin: 0; padding: 0; }
        .custom-contact-form-container {
            width: 100%; max-width: 700px; background-color: #dcedf7;
            border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }
        .custom-contact-form-header {
            background-color: #1a5ea5; color: #ffffff; text-align: center;
            padding: 16px 20px; font-size: 18px; font-weight: 500;
        }
        .custom-contact-form-body { padding: 30px; }
        .custom-contact-form-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 10px; }
        .custom-contact-form-group { display: flex; flex-direction: column; }
        .custom-contact-form-half { flex: 1; min-width: 250px; }
        .custom-contact-form-full { flex: 1 1 100%; }
        .custom-contact-form-wrapper label { color: #333333; font-size: 14px; margin-bottom: 8px; }
        .custom-contact-form-required { color: #d32f2f; }
        .custom-contact-form-wrapper input[type="text"],
        .custom-contact-form-wrapper textarea {
            width: 100%; padding: 12px 15px; border: none; background-color: #ffffff;
            font-size: 14px; font-family: inherit; color: #333333; outline: none; border-radius: 4px;
        }
        .custom-contact-form-wrapper input[type="text"]:focus,
        .custom-contact-form-wrapper textarea:focus { box-shadow: 0 0 0 2px rgba(26, 94, 165, 0.2); }
        .custom-contact-form-wrapper textarea { resize: vertical; min-height: 80px; }
        .custom-contact-form-submit-row { text-align: center; margin-top: 25px; }
        .custom-contact-form-btn {
            background-color: #48a69d; color: #ffffff; border: none; border-radius: 4px;
            padding: 10px 45px; font-size: 16px; cursor: pointer; transition: background-color 0.2s ease;
        }
        .custom-contact-form-btn:hover { background-color: #398c84; }
        .custom-contact-form-btn:disabled { background-color: #a0c9c5; cursor: not-allowed; }

        /* --- สไตล์สำหรับ Popup (Modal) --- */
        .custom-popup-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5); display: none; 
            justify-content: center; align-items: center; z-index: 1000;
        }
        .custom-popup-box {
            background: #fff; padding: 30px; border-radius: 8px;
            text-align: center; max-width: 400px; width: 90%;
            font-family: 'Sarabun', 'Prompt', sans-serif;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        }
        .custom-popup-icon {
            color: #48a69d; font-size: 50px; margin-bottom: 15px;
        }
        .custom-popup-message {
            color: #333; font-size: 16px; margin-bottom: 20px; line-height: 1.5;
        }
        .custom-popup-btn {
            background-color: #1a5ea5; color: white; border: none;
            padding: 8px 25px; border-radius: 4px; cursor: pointer; font-size: 16px;
        }