* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}

body {
    background: #f5f7fa;
}

/* HEADER */
.header {
    background: linear-gradient(to left, #0784b5, #9b0057);
    padding: 15px 30px;
    color: white;
    display: flex;
    align-items: center;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header img {
    height: 45px;
}

/* MAIN CONTAINER SECTION SPLIT */
.container {
    display: flex;
    gap: 40px;
    padding: 40px 60px;
    align-items: center;
}

/* RIGHT SIDE – FORM */
.right-section {
    flex: 1;
}

.title {
    font-size: 30px;
    font-weight: 700;
    color: #7a003c;
}

.subtitle {
    margin-top: 10px;
    color: #666;
    font-size: 16px;
}

.form-card {
    background: white;
    padding: 30px;
    margin-top: 25px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.input-group {
    text-align: right;
    margin-bottom: 18px;
}

.input-group label {
    font-weight: 600;
    font-size: 15px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-top: 6px;
    font-size: 15px;
    outline: none;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(to left, #0784b5, #9b0057);
    padding: 14px;
    font-size: 17px;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column; /* مهم لرفع الصورة للأعلى */
    align-items: center;
    justify-content: flex-start; /* رفع كل المحتوى للأعلى */
    padding-top: 5px;
}

.left-section .image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.left-section img {
    width: 100%;
    max-width: 500px;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    .left-section {
        order: -1;
    }
}
.footer {
    background: #7a003c; /* نفس اللون المستخدم في الموقع */
    color: white;
    text-align: center;
    padding: 18px 0;
    font-size: 15px;
    margin-top: 40px;
    letter-spacing: 1px;
}

.footer p {
    margin: 0;
}
