/* Taaruf Public Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d4638; /* Deep Emerald Green */
    --primary-dark: #082d24;
    --secondary-color: #c5a059; /* Gold/Bronze */
    --secondary-light: #e0bb70;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
}

body {
    background-color: var(--bg-color);
    font-family: 'Poppins', sans-serif; /* Default English Font */
    color: var(--text-color);
    line-height: 1.6;
}

.ar-text {
    font-family: 'Cairo', sans-serif; /* Arabic Font */
}

.main-container {
    max-width: 700px;
    margin: 40px auto;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.header-poster {
    width: 100%;
    height: auto;
    position: relative;
    background: var(--primary-color);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.header-poster:hover img {
    transform: scale(1.02);
}

.form-header {
    background: white;
    padding: 30px 40px 10px;
    text-align: center;
    position: relative;
}

.form-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-body {
    padding: 20px 40px 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.form-label .ar-label {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85em;
    margin-left: 5px;
    float: right;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fdfdfd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
    background-color: #fff;
    outline: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    font-weight: 600;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    width: 100%;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(13, 70, 56, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(13, 70, 56, 0.25);
    color: #fff;
}

.btn-submit:active {
    transform: translateY(0);
}

/* Success Animation */
.success-icon {
    width: 80px;
    height: 80px;
    background: #d4edda;
    color: #155724;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.footer-text {
    text-align: center;
    padding: 20px;
    color: #adb5bd;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
}

/* Custom Scrollbar for style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color); 
}
