/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Banner (Default for Desktop) */
.banner {
    background: url('../assets/banner.jpg') no-repeat center center;
    background-size: cover; /* Cover the entire banner area */
    height: 450px; /* Banner height for desktops */
    width: 100vw; /* Full width of the viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* Responsive Banner for Mobile */
@media (max-width: 768px) {
    .banner {
        background: url('../assets/banner-mobile.jpg') no-repeat center center; /* Mobile-specific image */
        background-size: contain; /* Ensures the image fits without cropping */
        background-attachment: ; /* Prevents zooming effect */
        height: 60vh; /* Set the height to fill the screen */
        width: 100vw; /* Ensure full-width for mobile */

    }
}

/* Form Container */
.form-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

/* Alert Section Styling */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #cce5ff;
    border-radius: 5px;
    background-color: #e9f7ff; /* Light blue background */
    color: #004085; /* Dark blue text */
    font-size: 14px;
}

.alert a {
    color: #0056b8;
    text-decoration: underline;
}

.alert a:hover {
    color: #003f88;
}

/* Refund Deadlines Section */
#quand {
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

ul {
    margin-left: 20px;
    margin-bottom: 10px;
    list-style-type: disc;
}

ul li {
    margin-bottom: 5px;
    color: #555;
}

p {
    font-size: 14px;
    line-height: 1.6;
}

p b {
    font-size: 1.1em;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* Buttons */
button.btn {
    background-color: #0056b8;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 10px;
    display: block;
    width: 100%;
}

button.btn:hover {
    background-color: #003f88;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loading-spinner.active {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #0056b8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Footer */
.image-footer {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 20px;
}

.footer-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive Footer for Mobile */
@media (max-width: 768px) {
    .footer-image {
        content: url('../assets/footer-mobile.png');
        object-fit: contain;
    }
}


.separator {
    border: 0;
    height: 1px;
    background: #ccc; /* Light gray line */
    margin: 20px 0; /* Add spacing above and below */
}

/* Separator Styling */
.separator {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 10px 0;
}

/* Separator with Image */
.separator-with-image {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between line and image */
    margin: 20px 0; /* Space around the separator section */
}

.separator-with-image .separator {
    flex: 1;
}

.separator-with-image .separator-image {
    width: 300px; /* Adjust to the correct size */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Prevents distortion */
    filter: none; /* Ensure no filters are applied */
}

/* Personal Information */
.personal-info .form-group {
    margin-bottom: 15px; /* Space between fields */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Card Information */
.card-info .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Form Group */
.form-group label {
    font-weight: bold;
    font-size: 14px;
}

.form-group input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus {
    border-color: #0056b8;
    box-shadow: 0 0 2px rgba(0, 86, 184, 0.5);
}

/* Button */
button.btn {
    background-color: #0056b8;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    align-self: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button.btn:hover {
    background-color: #003f88;
}
