html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #1e3c72, #2a5298);
}

.outer-shell {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
 
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #707070;
    border-radius: 6px;
}


.submit-button {
    margin-top: 20px;
    width: 100%;
    background-color: #3490dc;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #2779bd;
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.image-box {
    position: relative;
    width: 300px;
    flex-shrink: 0;
}

.form-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.image-box .image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-box .image-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}




/*


*/


.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 15px;
}


/*

coming soon

*/

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    position: relative;
}

h1 {
    font-size: 3rem;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.admin-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.admin-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

h1{
    color: #fff;
}


/*

address form

*/

.form-overlay-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;

}

.background-image {
    background-image: url('/images/image1.jpg');
    background-size: cover;
    background-position: center;
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 500px;
}

.form-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertically center */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    width: 30%;
    height: 700px;
    max-width: 500px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;

    /* Optional: light text if image is dark */
}



.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group.half {
    flex: 1;

}

@media (max-width: 500px) {

    .form-overlay,
    .background-image {

        height: 100vh;

    }

    .form-overlay {
        width: 100%;

    }

    .background-image {
        min-width: 0px;
    }

    .slide-in {
        animation: slideInLeft 3s ease-out forwards;
        opacity: 0.4;
        transform: translateX(-100%);
    }


    .slide-down {
        animation: slideInTop 3s ease-out forwards;
        opacity: 0.4;
        transform: translateY(-100%);
    }

    .fade-in {
        animation: fadein 3s ease-out forwards;
        opacity: 0;
    }

    @keyframes fadein {
        to {
            opacity: 1;
        }
    }

    @keyframes slideInTop {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    @keyframes slideInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

input,
select {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    appearance: none;
    /* Remove default arrow styling */
    -webkit-appearance: none;
    /* Safari */
    -moz-appearance: none;
    /* Firefox */
    font-family: inherit;
    font-size: 16px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}


.submit-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/*


admin dashboard

*/

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.dash-shell
{
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #f2f2f2;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

th,
td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

th {
    background-color: #edf2f7;
}

tr:hover {
    background-color: #f1f5f9;
}

.logout-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #e3342f;
    font-weight: bold;
}

.logout-link:hover {
    text-decoration: underline;
}

.pagination-container nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-container nav svg {
    height: 20px;
    width: 20px;
}

.pagination-container nav .hidden {
    display: none;
}

.pagination-container nav span,
.pagination-container nav a {
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.pagination-container nav span[aria-current="page"] {
    background-color: #3490dc;
    color: white;
}

.pagination-container nav a:hover {
    background-color: #f0f0f0;
}

#successMessage {
    display: none;
    background-color: #4CAF50; 
    color: white;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}

#failedMessage {
    display: none;
    background-color: #ff0000; 
    color: white;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}