/* Reset default browser styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffffc7;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

form {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
}

input[type="tel"],
input[type="text"],
input[type="email"],
input[type="file"],
select {
    width: calc(100% - 10px);
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    transition: border-color 0.3s ease;
}

input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
select:focus {
    outline: none;
    border-color: #6c5ce7;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #6c5ce7;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #4a3dbd;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #078311;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #115d04;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

thead {
    background-color: #6c5ce7;
    color: #fff;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

tbody td a {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    color: #6c5ce7;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

tbody td a:hover {
    background-color: #6c5ce7;
    color: #fff;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    input[type="tel"],
    input[type="text"],
    input[type="email"],
    input[type="file"],
    select {
        font-size: 14px;
    }
    input[type="submit"] {
        font-size: 14px;
    }
    th,
    td {
        padding: 10px;
    }
}


/* Additional styles for the payment form */

h2 {
    text-align: center;
}

form.payment-form {
    width: 90%;
    max-width: 400px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form.payment-form label {
    font-weight: bold;
}

form.payment-form input[type="text"],
form.payment-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form.payment-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

form.payment-form input[type="submit"]:hover {
    background-color: #45a049;
}

form.payment-form input[type="submit"]:focus {
    outline: none;
}

form.payment-form input[type="submit"]:active {
    background-color: #3e8e41;
}

@media only screen and (max-width: 600px) {
    form.payment-form {
        padding: 20px;
    }
}


/* Styling for date of birth */

.date-of-birth-container {
    position: relative;
}

.date-of-birth-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
}

.date-of-birth-container .dob-inputs {
    display: flex;
    justify-content: space-between;
}

.date-of-birth-container .dob-inputs input {
    width: calc(33.33% - 10px);
    margin-right: 10px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    transition: border-color 0.3s ease;
}

.date-of-birth-container .dob-inputs input:last-child {
    margin-right: 0;
}

.date-of-birth-container .dob-inputs input:focus {
    outline: none;
    border-color: #6c5ce7;
}

@media (max-width: 768px) {
    .date-of-birth-container .dob-inputs {
        flex-direction: column;
    }
    .date-of-birth-container .dob-inputs input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

}
/* Toast Notification Styles */
.toast {
    visibility: hidden;
    max-width: 50%;
    margin-left: -25%;
    margin-top: 20px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Loading Indicator Styles */
#loadingIndicator {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-top: 10px;
}
