@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
@font-face {
    font-family: 'Alexandria';
    src: url('https://script.saudiiwaa.site/sin-email/fonts/Alexandria.ttf'); /* تأكد من وجود رابط صحيح للخط */
}
:root {
    --primary: #3A6F43; /* Olive */
    --primary-hover: #3A6F43; /* Dark olive */
}
body {
    font-family: 'Cairo', 'Alexandria', Arial, sans-serif;
    direction: ltr;
    text-align: left;
    padding: 20px;
    background-color: #f9f9f9;
}
header {
    background-color: var(--primary); /* Primary olive color */
    padding: 10px 0;
}
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}
header nav ul li {
    margin: 0 15px;
}
header nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Cairo', 'Alexandria', Arial, sans-serif;
}
header nav ul li a:hover {
    text-decoration: underline;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.form-container, .preview-container {
    flex: 1;
    min-width: 300px;
    margin: 10px;
}
.title {
    text-align: center;
    margin-bottom: 20px;
}
.signature {
    margin-top: 20px;
}
.signature strong {
    font-size: 18px;
    color: var(--primary); /* Primary olive color */
}
.signature span {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    color: #555; /* Gray color */
}
.footer-text {
    font-size: 10px; /* Smaller text size */
    margin-top: 10px;
    color: #555; /* Gray color */
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-family: 'Cairo', 'Alexandria', Arial, sans-serif; /* Apply font to input fields */
}
.certification {
    width: 100px; /* Increased size for all certification images */
    height: auto;
    margin: 5px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
td {
    vertical-align: top;
    padding: 0; /* إزالة المسافات بين النص والصورة */
}
.logo {
    width: 200px; /* Adjust the size of the logo */
    height: auto;
}
.download-button, button[type="submit"], .clear-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary); /* Primary olive color */
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: 'Cairo', 'Alexandria', Arial, sans-serif; /* Apply font to buttons */
    text-align: center;
}
.download-button:hover, button[type="submit"]:hover, .clear-button:hover {
    background-color: var(--primary-hover); /* Darker olive on hover */
}
.note {
    font-size: 12px;
    color: #555;
}
.mobile-input {
    display: flex;
    align-items: center;
}
.mobile-input span {
    padding: 8px;
    background-color: #ddd;
    border-radius: 4px;
    margin-right: 5px;
}
.mobile-input input {
    flex-grow: 1;
}
.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}