* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --main-color: #082565;
}
/* استايل عام */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* تنسيق الهيدر */
header {
    background: white;
    padding: 15px 0;
    text-align: center;
}

/* تنسيق الشعار بجانب النص */
.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* مسافة بين الشعار والنص */
}

/* تنسيق الشعار */
.logo-title img {
    width: 60px;
    height: 60px;
}

/* تنسيق النص */
.title {
    text-align: center;
}

.title h1 {
    font-size: 24px;
    color: #1a3d5d;
    margin: 0;
}

/* الخط الفاصل بين النص */
.title hr {
    width: 50%;
    margin: 5px auto;
    border: 1px solid #1a3d5d;
}

/* النص السفلي */
.title h3 {
    font-size: 18px;
    color: var(--main-color);
    margin: 0;
}

/* تنسيق صندوق الترحيب */
.welcome-box {
    text-align: center;
}

/* تنسيق الخط الفاصل */
.separator {
    width: 50%;
    margin: 10px auto;
    border: 1px solid #ccc;
}


/* الخلفية */
main {
    position: relative;
    height: 100vh;
    background: url('Photos/background.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تأثير التظليل */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.6);
}

/* صندوق المحتوى */
.container {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
}

h2 {
    margin-top: 0;
    color: #444;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    background: #3498db;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background: #2980b9;
}
body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Styling the login box */
.login-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
    overflow: hidden;
}

/* Header section */
.header {
    display: flex;
    justify-content: center;
    background-color:var(--main-color);
    color: #fff;
    text-align: center;
    padding: 10px;
    align-items: center;
}

.header img {
    width: 50px;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 22px;
    font-weight: bold;
}

.header h2 {
    font-size: 16px;
    font-weight: normal;
    color: #fff;
}

.header-content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-content img{
    width: 50px;
}

.header-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-text hr{
    width: 100%;
    border: 0.5px solid #fff;
    margin: 5px 0;
}

/* Form styling */
form {
    padding: 20px;
}

.input-container{
    position: relative;
    margin-bottom: 15px;
}

.input-label{
    position: absolute;
    top: -10px;
    left: 10px;
    background: white;
    padding: 0 5px;
    font-size: 12px;
}

label {
    display: block;
    font-size: 14px;
    margin: 5px 0;
    color: #555;
}

input {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #00509e;
}

/* Links section */
.links {
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

/* جعل "Forgot Username?" و "Forgot Password?" في نفس السطر */
.links-top {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

/* جعل كل رابط في .links-bottom يظهر في سطر منفصل */
.links-bottom a {
    display: block;
    margin: 5px 0;
}

.links a {
    color: #1f74ca;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;
}

