/* css/style.css */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* Arabic font support */
[lang="ar"], [lang="ar"] * {
    font-family: 'Noto Sans Arabic', 'Arial', sans-serif !important;
}

.container {
    max-width: 700px;
    width: 100%;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1px;
}
label {
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
    color: #34495e;
    font-size: 15px;
}
.description {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-style: italic;
}
input, select, textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fafafa;
}
input:focus, select:focus, textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    outline: none;
}
textarea {
    height: 140px;
    resize: vertical;
}
.counter {
    font-size: 13px;
    color: #7f8c8d;
    text-align: right;
    margin-bottom: 20px;
}
button {
    width: 100%;
    padding: 14px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}
#message {
    margin-top: 25px;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-weight: 500;
    font-size: 15px;
}
#message.success {
    background-color: #d4efdf;
    color: #27ae60;
    border: 1px solid #27ae60;
}
#message.error {
    background-color: #f9d6d6;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}
@media (max-width: 700px) {
    .container {
        padding: 25px;
    }
}
.tel-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.tel-group select {
    max-width: 110px;
    flex-shrink: 0;
}
.tel-group input {
    flex-grow: 1;
}
/* RTL Support */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] label {
    text-align: right;
}
[dir="rtl"] .counter {
    text-align: left;
}
[dir="rtl"] .tel-group {
    flex-direction: row-reverse;
}
[dir="rtl"] h2 {
    text-align: center;
}
