/* General Styles */
body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f0f0f0;
    position: relative;
    margin: 0;
}

.container {
    max-width: 400px;
    margin: 10px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333333;
}

/* Banner Styles */
.banner-space {
    height: 50px;
}

.banner {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    box-sizing: border-box;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner.fade-in {
    display: flex;
    opacity: 1;
}

.banner.fade-out {
    opacity: 0;
}

/* Form Styles */
label, .radio-buttons, .file-input, button.submit-btn, .file-name {
    display: block;
    width: 100%;
    font-size: 18px;
}

label {
    margin-bottom: 10px; 
    color: #333333;
}

.radio-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px; 
}

.radio-button {
    flex: 1;
    margin-right: 10px;
    background-color: #f0f0f0; 
    color: #4A4A4A; 
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    font-size: 20px;
}

.radio-button:last-child {
    margin-right: 0;
}

.radio-button.selected {
    background-color: #003366; 
    color: white; 
}

.radio-button .icon {
    font-size: 21px;
    margin-bottom: 5px;
    padding-right: 5px;
}

.radio-button span {
    font-size: 15px;
    line-height: 1.2;
}

.file-input {
    position: relative;
    margin-top: 60px; /* Space above Take Photo */
    margin-bottom: 15px; /* Space below Take Photo */
}


.file-input input[type="file"] {
    display: none;
}

.file-input label {
    background-color: #003366; 
    color: white;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    height: 56px;
}

#uploadFiles + label {
    background-color: #f0f0f0;
    color: #4A4A4A;
    border: 1px solid #ccc;
    margin-top: -45px;
    height: 56px;
}

#uploadFiles + label:hover {
    background-color: #e0e0e0;
}

.file-input label .icon {
    margin-right: 8px;
    font-size: 20px;
    padding-right: 5px;
}

.file-name {
    font-size: 16px;
    color: #888888; 
    text-align: left;
    margin-top: 5px;
    padding-left: 5px; 
}

button.submit-btn {
    background-color: #4CAF50; 
    color: white;
    border: none;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

button.submit-btn:hover {
    background-color: #45a049;
}

button.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    color: #666666;
}

button.submit-btn:disabled .icon {
    opacity: 0.7;
}

button.submit-btn .icon {
    margin-right: 10px;
    font-size: 20px;
}

@media (max-width: 500px) {
    .container {
        margin: 10px;
    }
    
    .radio-button {
        padding: 15px;
        height: 100px;
        font-size: 18px;
    }
    
    button.submit-btn {
        padding: 20px;
        font-size: 20px;
    }

    .file-input label {
        font-size: 18px;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}