/* Basic Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(Project-Images/zeinaxabdelrahman_tiny.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    width: 80%;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    color: #333;
}

input[type="text"], input[type="email"], input[type="file"], input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 0.5px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

input[type="submit"] {
    background-color: #0056b3;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 55%;  /* Adjusted for better mobile interaction */
}

.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #004494;
}

.message {
    color: green;
    font-size: 16px;
    margin-top: 20px;
}

.file-input-label {
    background-color: #3c3c3c75;
    color: white;
    padding: 8px;
    border-radius: 3px;
    cursor: pointer;
    display: block;
    width: 103%; /* Ensure labels extend fully with a slight overhang to compensate for padding */
    text-align: center;
}

#file-chosen {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        width: 95%;  /* More padding on smaller screens */
    }

    input[type="text"], input[type="email"], input[type="file"], input[type="submit"], .file-input-label {
        padding: 12px;  /* Larger touch targets */
        font-size: 14px; /* Slightly smaller font for space */
    }

    input[type="submit"] {
        width: 75%; /* Larger button for easier clicking */
    }

    .file-input-label {
        width: 100%; /* Adjust width to fit container without overhang */
    }
}
