@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700&family=Tajawal&display=swap');

body {
    background-color: #121212;
    color: #f0f0f0;
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
	padding-bottom: 80px;
}

/* ====== Header ====== */
.header {
    text-align: center;
    background: linear-gradient(90deg, #1f1f1f, #2c2c2c);
    padding: 20px;
    border-bottom: 2px solid #ffcc00;
}

.logo {
    width: 50%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 10px;
}

/* ====== Typography ====== */
h1, h2, label {
    font-family: 'Cairo', sans-serif;
    color: #ffcc00;
}

p {
    direction: rtl;
    text-align: right;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.8;
}

/* ====== Layout ====== */
section {
    padding: 20px;
    line-height: 1.8;
}

ol {
    padding-right: 20px;
}

/* ====== Form ====== */
form {
    max-width: 450px;
    margin: 40px auto;
    background-color: #1f1f1f;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

form label {
    display: block;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 6px;
    color: #ffcc00;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="number"],
form select {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

/* ====== Dropdown (Select) ====== */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ffcc00' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	margin-bottom: 20px;
}

select:hover {
    background-color: #333;
}

select:focus {
    outline: none;
    box-shadow: 0 0 5px #ffcc00;
}

/* ====== Buttons ====== */
.buttons {
    text-align: center;
    margin: 20px;
}

.btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #121212;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    transition: 0.3s;
}

.btn:hover {
    background-color: #ffaa00;
}

/* ====== Submit button ====== */
input[type="submit"] {
    background-color: #ffcc00;
    color: #121212;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #ffaa00;
	  text-align: center;
    margin: 20px;
}
}

/* ====== Footer ====== */
.footer {
    background-color: #1f1f1f;
    color: #ccc;
    text-align: center;
    padding: 15px;
    border-top: 1px solid #333;
	position: fixed;           /* Stay fixed in the viewport */
  bottom: 0;                 /* Stick to the bottom */
  left: 0;
  width: 100%;               /* Full width */
  font-family: "Cairo", sans-serif; /* Arabic-friendly font */
  direction: rtl;            /* Correct Arabic direction */
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1); /* Soft top shadow */
  z-index: 1000;  
}

/* ====== Messages ====== */
.message {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}
.social-icons {
    margin-top: 15px;
}
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #111;
    line-height: 40px;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}
.social-icons a:hover {
    background-color: #E5C100;
    transform: scale(1.1);
}
