/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url("images/annie-spratt-tuJ3tXSayco-unsplash.jpg");
    background-size: cover;
    background-position: center center;

}



/* Form container */
form {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;

    
}

/* Headings and paragraphs */
form p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Input group spacing */
form > p:not(:first-of-type) {
    margin-top: 20px;
}

/* Radio buttons and labels */
input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #007BFF;
}

label {
    margin-right: 20px;
    color: #444;
    font-size: 15px;
}

/* File input styling */
input[type="file"] {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    padding: 5px;
}

/* Submit button styling */
input[type="submit"] {
    background: linear-gradient(to right, #007BFF, #00c6ff);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

input[type="submit"]:hover {
    background: linear-gradient(to right, #0056b3, #0091ff);
}

/* Optional: Add space between each radio group */
form br {
    line-height: 2;
}

 #loading-overlay {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: rgba(255, 255, 255, 0.8);
            text-align: center;
            padding-top: 20%;
            font-size: 1.5em;
            color: #333;
        }

        .spinner {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
            margin: auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }