* {
    font-family: 'Vazirmatn', sans-serif;
    box-sizing: border-box;
}

::placeholder, ::name {
    color: #b2bec3;
    font-size: 0.9rem;
}

.g-recaptcha{
    direction: rtl;
    zoom: 0.9;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f2f5;
    font-family: Tahoma, sans-serif;
}

.logoimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 90%;
    margin: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #056839;
    direction: rtl;
    font-size: 1.1rem;
    font-weight: 600;
}

h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #b10000;
    direction: rtl;
    font-size: 1rem;
    FONT-WEIGHT: 300;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    margin-top: 0.5rem;
    direction: rtl;
    padding-right: 40px;
}

select {
    appearance: none;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e")
    no-repeat right 1rem center;
    background-size: 1em;
}

textarea {
    height: 120px;
    resize: vertical;
}

button {
    width: 100%;
    padding: 12px;
    background: #056839;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #39b54a;
}

.success-message {
    display: none;
    background: #28a745;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    margin: 1rem 0;
    animation: fadeIn 0.5s;
    direction: rtl;
}

.error-message {
    display: none;
    background: #a7283d;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    margin: 1rem 0;
    animation: fadeIn 0.5s;
    direction: rtl;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.swal2-html-container {
    direction: rtl;
}
