/* ==========================================================================
   CF7 Minimal Style - Custom CSS
   ========================================================================== */

.wpcf7 {
    max-width: 620px;
    margin: 30px auto;
    font-family: inherit;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.wpcf7 *, .wpcf7 *::before, .wpcf7 *::after {
    box-sizing: border-box;
}

.wpcf7-form p {
    margin-bottom: 18px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Inputs and Textarea Styling */
.wpcf7-form-control:not([type="submit"]) {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
    outline: none;
    box-shadow: none;
}

.wpcf7-form-control:not([type="submit"]):focus {
    background-color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.wpcf7 textarea.wpcf7-form-control {
    height: 140px;
    resize: vertical;
}

/* Submit Button */
.wpcf7-submit {
    display: inline-block;
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #6366f1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.wpcf7-submit:hover {
    background-color: #4f46e5;
    box-shadow: 0 6px 12px -2px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Validation Messages & Alerts */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    text-align: center;
    line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #ecfdf5;
    border: 1px solid #10b981 !important;
    color: #065f46;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #fef2f2;
    border: 1px solid #ef4444 !important;
    color: #991b1b;
}

.wpcf7 form.spam .wpcf7-response-output {
    background-color: #fffbebf;
    border: 1px solid #f59e0b !important;
    color: #92400e;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fff8f1;
    border: 1px solid #f97316 !important;
    color: #9a3412;
}

.wpcf7-spinner {
    margin-top: 12px;
}
