body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: auto;
    padding: 15px 0;
    font-family: 'Noto Sans Arabic', sans-serif;
    min-height: 100vh;
    box-sizing: border-box;
}
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
#banner {
    text-align: center;
    max-width: 175px;
    width: 100%;
}

.intro-blurb, .alert, .contact-info-blurb, textarea {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-weight: normal; 
    max-width: 400px;
    padding: 10px;
    margin: 20px auto;
    box-sizing: border-box; 
}

select, textarea, input, button {
    font-family: 'Noto Sans Arabic', sans-serif;
    margin-bottom: 20px;
    border-radius: 5px;
    width: 299px;
}

select, input {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    width: 300px;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    appearance: menulist;
}

select::-webkit-select {
    border: none;
    background: transparent;
    padding-right: 10px;
}

#uploadForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

input[type="file"] {
    cursor: pointer;
    appearance: none;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
}

.file-label {
    display: inline-block;
    background-color: #555555;
    color: white;
    padding: 6px 18px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin: 10px;
}

.file-label:hover {
    background-color: #777777;
}

.file-label:active {
    background-color: #444444;
}

#fileNameDisplay {
    font-family: 'Noto Sans Arabic', sans-serif;
    margin-top: 10px;
    color: #555;
    font-size: 14px;
}

#alerts {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.alert {
    padding: 10px 20px;
    margin: 8px;
    border-radius: 5px;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: opacity 0.5s ease-out;
    opacity: 1;
    direction: rtl;
}
.alert.hide {
    opacity: 0;
}

.error {
    background-color: #ff6666;
    color: white;
}

.unsupported {
    background-color: #ffd966;
    color: black;
}

#progress-bar {
    width: 300px;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    display: none;
    margin-top: 10px;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
    direction: rtl;
    font-family: 'Noto Sans Arabic';
    position: relative;
}

#progress-bar-fill {
    height: 20px;
    background-color: #4caf50;
    transition: width 0.4s ease;
    border-radius: 10px;
    width: 0%;
}

#progress-bar-fill span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    position: absolute;
}

#uploadButton {
    background-color: #3867E5;
    color: #fff;
    border: none;
    padding: 10px 35px;
    border-radius: 4px;
    cursor: pointer;
}

#uploadButton.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.success {
    background-color: #66ff66;
    color: white;
}

button {
    background-color: #003944;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    textDecoration: none;
    display: inline-block;
    fontSize: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    border-radius: 5px;
}

button:hover {
    boxShadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 20px 0;
}

footer a {
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}