﻿/* Body and overall background styling */
body {
    background-color: #245194;
    background: url('/images/texture-background.png') repeat, /* Top layer: background image */
    #245194; /* Bottom layer: background color */
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Background and banner styling */
.auth-background {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

/* Logo specific styles */
.auth-logo {
    width: 150px; /* Set a fixed width for the logo */
    height: auto;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* General styles for the auth form */
.auth-form-container {
    width: 100%; /* Responsive width for mobile */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .auth-form-container label {
        color: #245194;
        font-weight: bold;
        margin-bottom: 8px;
        display: block;
        text-align: left;
    }

    .auth-form-container input[type="email"],
    .auth-form-container input[type="password"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
    }

        .auth-form-container input[type="email"]:focus,
        .auth-form-container input[type="password"]:focus {
            border-color: #245194;
            outline: none;
        }

    .auth-form-container button[type="submit"] {
        background-color: #245194;
        color: #ffffff;
        border: none;
        padding: 10px 15px;
        width: 100%;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
        font-weight: bold;
    }

        .auth-form-container button[type="submit"]:hover {
            background-color: #1d3d7a;
        }

    .auth-form-container a {
        color: #245194;
        text-decoration: none;
        display: inline-block;
        margin-top: 15px;
    }

        .auth-form-container a:hover {
            text-decoration: underline;
        }

/* Footer styles */
.footer {
    background-color: #245194;
    padding: 20px 10px;
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap;
    position: relative;
}

    .footer .footer_left {
        display: none; /* Hidden on mobile, visible on larger screens */
    }

    .footer .footer_logo img {
        width: 40px;
        height: 41px;
        margin-bottom: 10px; /* Add space below the logo */
        display: inline;
    }

    .footer .footer_left .text-size-medium {
        font-size: 16px; /* Larger text for the domain name */
        font-weight: bold;
        display: inline;
    }

    .footer .footer_left .text-size-regular {
        font-size: 14px; /* Smaller text for the copyright */
    }

    .footer .footer_right {
        text-align: center;
        width: 100%;
        position: relative;
    }

        .footer .footer_right a {
            color: #e4aa35; /* Gold color for the link */
            text-decoration: underline; /* Always underlined */
        }

            .footer .footer_right a:hover,
            .footer .footer_right a:active {
                color: #e4aa35; /* Keep the color consistent on hover/active */
                text-decoration: underline;
            }

/* Responsive adjustments */
@media (min-width: 769px) {
    .auth-form-container, #notification-container {
        width: 470px;
    }
    .footer .footer_left {
        display: flex;
        flex-direction: column; /* Stack the items vertically */
        align-items: flex-start; /* Align left */
    }

    .footer .footer_right {
        position: absolute; /* Position it absolutely within the footer */
        right: 10px; /* Align it to the right */
        bottom: 10px; /* Position it at the bottom */
        width: auto;
        text-align: right;
    }
}
