.testeto-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    direction: rtl;
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.t-form-heading {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 25px;
    margin-top: 0;
}

/* مخفی کردن تله عسل از دید کاربر، اما قابل دید برای ربات‌ها */
.t-honeypot {
    opacity: 0;
    position: absolute;
    top: 0; left: 0;
    height: 0; width: 0;
    z-index: -1;
}

.t-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.t-form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 600px) {
    .t-form-row { flex-direction: column; gap: 20px; }
}

.t-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
}
.t-form-group label span { color: #ef4444; } /* ستاره قرمز */

.t-form-group input, 
.t-form-group textarea, 
.t-custom-select select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1f2937;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.t-form-group input:focus, 
.t-form-group textarea:focus, 
.t-custom-select select:focus {
    outline: none;
    border-color: #FFC107;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}

/* دراپ‌داون اختصاصی و شیک */
.t-custom-select {
    position: relative;
}
.t-custom-select select {
    appearance: none; /* حذف فلش زشت پیش‌فرض مرورگر */
    -webkit-appearance: none;
    cursor: pointer;
}
.t-custom-select::after {
    content: "▼";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.8rem;
    pointer-events: none;
}

.t-captcha-group {
    background: #fefce8;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed #facc15;
}

/* دکمه سابمیت */
.t-form-submit {
    background: #1f2937; /* خاکستری خیلی تیره (مثل هدر سایتت) */
    color: #FFC107; /* متن زرد */
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.t-form-submit:hover {
    background: #FFC107;
    color: #1f2937;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.t-form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* لودر و پیام‌ها */
.t-btn-loader {
    display: none;
    width: 20px; height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #FFC107;
    border-radius: 50%;
    animation: t-spin 1s linear infinite;
}
@keyframes t-spin { to { transform: rotate(360deg); } }

.t-form-submit.loading .t-btn-text { display: none; }
.t-form-submit.loading .t-btn-loader { display: block; }

.t-form-response {
    display: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}
.t-form-response.success { display: block; background: #dcfce7; color: #166534; }
.t-form-response.error { display: block; background: #fee2e2; color: #991b1b; }