﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    background-color: #ffffff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    width: 900px;
    background-color: #fff;
    box-shadow: 0 0 20px rgb(131 164 193 / 65%);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto; /* Center horizontally */
    padding: 20px;
}

.login-left-side,
.login-right-side {
    flex: 1;
    padding: 20px;
}

    .login-left-side img {
        max-width: 100%;
        height: auto;
    }

.login-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .login-header h1 {
        font-size: 24px;
        color: #4a4a4a;
    }

    .login-header .sign-up {
        font-size: 14px;
    }

        .login-header .sign-up a {
            color: #007ad1;
            text-decoration: none;
            font-weight: bold;
        }

.signup-image-logo {
    width: 50%;
    margin-bottom: 80px;
    margin-top: 20px;
}

@media (max-width: 575px) {
    .signup-image-logo {
        margin-bottom: 50px;
    }
}

.blue-text {
    color: #b1730f;
}

.blue-text-2 {
    color: #2475af;
}

.welcome p {
    color: #888;
    text-align: center;
    font-size: 14px;
}

.form-group {
    margin-top: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    margin: 0 auto 20px; /* Center horizontally and add bottom margin */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    width: 70%;
}

    .input-group .icon {
        margin-right: 10px;
        color: #888;
    }

    .input-group input {
        border: none;
        outline: none;
        flex: 1;
        padding: 5px;
    }

.input-group-reg {
    display: flex;
    align-items: center;
    margin: 0 auto 20px; /* Center horizontally and add bottom margin */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    /* width: 70%;*/
}

    .input-group-reg .icon {
        margin-right: 10px;
        color: #888;
    }

    .input-group-reg input {
        border: none;
        outline: none;
        flex: 1;
        padding: 5px;
    }

/* Custom CSS for validation messages */
.custom-validation-message {
    color: #d9534f; /* Red color for errors */
    font-weight: bold;
    font-size: 0.8em;
    margin-top: 5px;
    display: block;
}

.btn-primary {
    width: 75%;
    padding: 12px;
    background-color: #007ad1;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block; /* Ensure it takes full width */
    margin: 0 auto; /* Center horizontally */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #0069d9;
        border-color: #0062cc;
    }

.btn-primary-dialog {
    width: 75%;
    padding: 12px;
    background-color: #007ad1;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block; /* Ensure it takes full width */
    margin: 0 auto; /* Center horizontally */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-primary-dialog:hover {
        color: #fff;
        background-color: #0069d9;
        border-color: #0062cc;
    }

.btn-secondary {
    /*width: 85%;*/
    padding: 12px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block; /* Ensure it takes full width */
    margin: 0 auto; /* Center horizontally */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #5a6268;
        border-color: #5a6268;
    }

.btn-secondary-dialog {
    /*width: 85%;*/
    padding: 12px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block; /* Ensure it takes full width */
    margin: 0 auto; /* Center horizontally */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-secondary-dialog:hover {
        color: #fff;
        background-color: #0069d9;
        border-color: #0062cc;
    }

.form-group.text-right a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.social-icons {
    text-align: center;
    margin-top: 30px;
}

    .social-icons a {
        margin: 0 5px;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }

.modal-open {
    overflow: hidden;
}

    .modal-open .modal {
        overflow-x: hidden;
        overflow-y: auto;
    }

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow effect */
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}


@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 1rem);
        overflow: hidden;
    }

    .modal-dialog-scrollable .modal-header,
    .modal-dialog-scrollable .modal-footer {
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Minimum height of the viewport */
}

    .modal-dialog-centered .modal-content {
        width: 100%; /* Full width */
    }

    .modal-dialog-centered::before {
        display: block;
        height: calc(100vh - 1rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content;
        content: "";
    }

    .modal-dialog-centered.modal-dialog-scrollable {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
        height: 100%;
    }

        .modal-dialog-centered.modal-dialog-scrollable .modal-content {
            max-height: none;
        }

        .modal-dialog-centered.modal-dialog-scrollable::before {
            content: none;
        }

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    /*width: 100%;*/
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}


.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

    .modal-backdrop.fade {
        opacity: 0;
    }

    .modal-backdrop.show {
        opacity: 0.5;
    }

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /*padding: 1rem 1rem;*/
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

    .modal-header .close {
        /*padding: 1rem 1rem;*/
        margin: -1rem -1rem -1rem auto;
        border: none;
    }

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.modal-title {
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    /*padding: 1rem;*/
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    /*padding: 0.75rem;*/
    border-top: 1px solid #dee2e6;
}

    .modal-footer > :not(:first-child) {
        margin-left: 0.25rem;
    }

    .modal-footer > :not(:last-child) {
        margin-right: 0.25rem;
    }

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-lg, .modal-xl {
        max-width: 800px;
    }

    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-xl {
        max-width: 1140px;
    }
}

/* End of Modal Styling */


/* Modal custom styling */
.modal-content {
    padding: 5px; /* Add padding to the modal content */
    border-radius: 10px; /* Round the corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Add a shadow effect */
}

.modal-header, .modal-footer {
    border: none; /* Remove borders */
    padding: 1rem 2rem; /* Add padding */
    text-align: center; /* Center text */
}

.modal-title {
    font-size: 1.15rem; /* Adjust font size */
    color: #333; /* Darker color for the title */
}

.modal-body {
    padding: 1rem 2rem; /* Add padding */
    font-size: 1rem; /* Adjust font size */
    color: #666; /* Lighter color for the body text */
}

.modal-footer {
    display: flex;
    justify-content: space-between; /* Space out buttons */
}

    .modal-footer .btn {
        flex: 1; /* Make buttons take equal space */
        margin: 0 5px; /* Add margin between buttons */
    }

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out; /* Smooth transition */
    transform: translate(0, -30px); /* Initial position for the animation */
}

.modal.show .modal-dialog {
    transform: translate(0, 0); /* Final position for the animation */
}

/* Responsive styling */
@media (max-width: 768px) {
    .modal-content {
        padding: 5px; /* Adjust padding for smaller screens */
    }

    .modal-header, .modal-footer {
        padding: 1rem; /* Adjust padding for smaller screens */
    }

    .modal-title {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }

    .modal-body {
        padding: 1rem; /* Adjust padding for smaller screens */
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .login-header h1 {
        font-size: 20px;
    }

    .input-group input {
        padding: 10px;
    }

    .btn-primary {
        font-size: 14px;
    }

    .welcome p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem; /* Add margin for smaller screens */
    }

    .modal-footer .btn {
        flex: 1; /* Make buttons take equal space */
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        box-shadow: none;
        padding: 0px;
    }

    body {
        display: block;
    }

    .login-left-side, .login-right-side {
        /*padding: 10px;*/
    }

    .input-group {
        width: 90%;
    }

    .btn-primary {
        width: 90%;
    }
}
