* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    color: #333;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 25px 20px 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
}

.header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.header .logo {
    width: 130px;      /* ✅ تم التكبير من 80px إلى 130px */
    height: 130px;     /* ✅ تم التكبير من 80px إلى 130px */
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255,255,255,0.5);  /* ✅ border أكثر سماكة */
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);    /* ✅ ظل أكبر */
    flex-shrink: 0;
    transition: transform 0.3s ease;
    overflow: hidden;
    padding: 10px;     /* ✅ مسافة إضافية بين الصورة والإطار */
}

.header .logo:hover {
    transform: scale(1.08);  /* ✅ تكبير أكبر عند hover */
}

.header .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;        /* ✅ إزالة أي تدوير من الصورة */
}

.header h1 {
    font-size: 28px;         /* ✅ زيادة حجم العنوان */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header .sub-title {
    font-size: 15px;         /* ✅ زيادة حجم النص الفرعي */
    opacity: 0.9;
    margin-top: 2px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 720px;
    margin: 30px auto;
    padding: 0 15px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    border-right: 5px solid transparent;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
    display: block;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
    display: block;
}

/* ===== FORM CARD ===== */
.form-card {
    background: white;
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #302b63;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b35;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
    font-size: 14px;
}

.form-group label .required {
    color: #e74c3c;
    margin-right: 2px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group small {
    color: #888;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ===== RADIO ===== */
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 100px;
    position: relative;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    background: #fafafa;
}

.radio-option input[type="radio"]:checked + label {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.radio-option label:hover {
    border-color: #ff6b35;
    background: #fff5f0;
}

.radio-option input[type="radio"]:checked + label:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

/* ===== UPLOAD ===== */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
}

.upload-area:hover {
    border-color: #ff6b35;
    background: #fff5f0;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-area .upload-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.upload-area .upload-text {
    font-weight: 600;
    color: #555;
}

.upload-area .upload-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.upload-area .file-name {
    margin-top: 8px;
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
}

/* ===== TERMS ===== */
.terms-box {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 15px;
    line-height: 2;
    font-size: 14px;
}

.terms-box h4 {
    color: #302b63;
    margin-bottom: 10px;
    font-size: 16px;
}

.terms-box ul {
    padding-right: 20px;
    list-style: none;
}

.terms-box ul li {
    margin-bottom: 8px;
    padding-right: 20px;
    position: relative;
}

.terms-box ul li::before {
    content: "•";
    color: #ff6b35;
    font-weight: 700;
    position: absolute;
    right: 0;
}

.terms-box .note {
    color: #e74c3c;
    font-weight: 700;
    margin-top: 10px;
    padding: 10px;
    background: #fde8e8;
    border-radius: 8px;
    text-align: center;
}

/* ===== CHECKBOX ===== */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #ff6b35;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.6;
}

/* ===== SUBMIT ===== */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== CAR INFO ===== */
.car-info-section {
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ERRORS ===== */
.error-text {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.input-error {
    border-color: #e74c3c !important;
    background: #fff5f5 !important;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .container { padding: 0 10px; }
    .form-card { padding: 18px; }
    .header h1 { font-size: 20px; }
    .header .sub-title { font-size: 13px; }
    .header .logo { 
        width: 90px;   /* ✅ تم التكبير من 60px إلى 90px */
        height: 90px;  /* ✅ تم التكبير من 60px إلى 90px */
        padding: 6px;
    }
    .header .logo-container { gap: 15px; }
    .radio-group { flex-direction: column; }
    .radio-option { min-width: auto; }
    
}