/* ===============================
   CONTACT SYSTEM FINAL FIX
=============================== */

/* OUTER WRAPPER (KEY FIX) */
.cs-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* FORM */
#cs-form {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 40px auto !important;

    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUTS */
#cs-form input,
#cs-form textarea {
    width: 100% !important;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

/* FOCUS */
#cs-form input:focus,
#cs-form textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* TEXTAREA */
#cs-form textarea {
    min-height: 120px;
}

/* BUTTON */
#cs-form button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

#cs-form button:hover {
    background: #1e40af;
}

/* ===============================
   SUCCESS / RESPONSE (UNIFIED)
=============================== */

.cs-response,
.cs-success {
    color: #16a34a;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}

/* Enhanced success UI (popup) */
.cs-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 10px;
    border-radius: 6px;
}

/* MOBILE */
@media (max-width: 600px) {
    #cs-form {
        margin: 20px !important;
        padding: 18px;
    }
}