@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: #f2f4f8;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 70%;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    color: #007BFF;
    text-align: center;
}

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 16px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: vertical;
}

textarea {
    min-height: 100px;
}

input[type="submit"] {
    margin-top: 25px;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

/* Header Styles */
.header {
    background-color: #004080;
    color: white;
    padding: 20px;
    text-align: right;
    position: relative;
}

.header img {
    height: 50px;
    position: absolute;
    left: 20px;
    top: 15px;
}

.header .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.header .contact {
    font-size: 14px;
    color: #ddd;
}

.navbar {
    margin-top: 10px;
    text-align: right;
    margin-right: 10px;
}

.navbar a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.navbar a:hover {
    text-decoration: underline;
}

/* login box */
.login-box {
    background-color: white;
    width: 400px;
    margin: 100px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-box h2 {
    color: #007BFF;
    margin-bottom: 25px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.login-box input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.login-box input[type="submit"]:hover {
    background-color: #0056b3;
}

.error-msg {
    color: red;
    font-weight: bold;
    margin-top: 15px;
}
