﻿.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
    opacity: .75;
}

.modal .modal-dialog .close {
    top: 0;
    position: absolute;
    right: 0;
    height: 36px;
    width: 36px;
    background-color: #313a46;
    opacity: 1;
    border: 2px solid #fff;
    text-shadow: none;
    color: #fff;
    border-radius: 50%;
    padding: 0;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient( to bottom, #B8F2E6 0%, #C3ECE9 25%, #CFE5E5 50%, #DADFEF 75%, #E5D9F2 100% );
    font-family: Arial, sans-serif;
}

.signin-btn {
    background-color: #3b3b3b;
    color: #fff;
}

    .signin-btn:hover {
        background-color: #2a2a2a;
        color: #fff;
    }

.right-img {
    background: url('image.jpg') no-repeat center center;
    background-size: cover;
}

.logo {
    width: 120px;
    margin-bottom: 15px;
}

.container-fluid {
    width: 80%;
    margin-left: 8rem;
    background: rgba(255, 255, 255, 0.25);
    margin-top: 3rem;
    height: 34rem;
    border-radius: 1.5rem;
}



.login-input {
   
    width: 25rem;
    height: 3.2rem;
    border: none;
    border-radius: 7px;
    margin-left: 5rem;
    margin-top: 1rem;
    background-color: #fff;
    text-align: center; /* Horizontal center */
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: center; /* Extra ensure horizontal centering */
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    outline: none;
}
 .login-input::placeholder {
        color: #999;
        text-align: center;
    }
.signin-btn {
    width: 25rem;
    height: 3.2rem;
    margin-left: 5rem;
    margin-top: 2rem;
    border-radius: 7px;
    border: none;
    background-color: #3b3b3b;
    color: #fefefe;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}
.text-danger {
    display: none;
}


/* 📱 Tablet View (up to 1024px) */
@media (max-width: 1024px) {
    .container-fluid {
        width: 95% !important;
        margin: 2rem auto !important;
        height: auto !important;
        padding: 2rem !important;
        border-radius: 1.5rem !important;
    }

    .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* 🧩 Make left section (form) appear first */
    .col-md-6.d-flex {
        order: 1 !important;
    }

    /* 🧩 Make right section (image) appear after form */
    .right-img {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 2rem !important;
    }

        .right-img img {
            margin: 0 auto !important;
            height: auto !important;
            width: 75% !important;
        }

    h1, p {
        margin-left: 0 !important;
        text-align: center !important;
    }

    .login-input,
    .signin-btn {
        width: 90% !important;
        margin: 1rem auto !important;
        display: block !important;
    }

    .signin-btn {
        margin-top: 1.5rem !important;
    }
}

/* 📲 Mobile View (up to 768px) */
@media (max-width: 768px) {
    .container-fluid {
        width: 95% !important;
        margin: 1rem auto !important;
        padding: 1.5rem !important;
        height: auto !important;
        border-radius: 1rem !important;
    }

    .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* 🧩 Ensure form is on top */
    .col-md-6.d-flex {
        order: 1 !important;
    }

    /* 🧩 Ensure image comes below */
    .right-img {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 2rem !important;
    }

        .right-img img {
            width: 85% !important;
            height: auto !important;
            margin: 0 auto !important;
        }

    h1 {
        font-size: 1.8rem !important;
        margin: 1rem 0 !important;
        text-align: center !important;
    }

    p {
        font-size: 0.95rem !important;
        margin: 0.5rem 0 1rem 0 !important;
        text-align: center !important;
    }

    .login-input,
    .signin-btn {
        width: 100% !important;
        height: 3rem !important;
        margin: 0.8rem auto !important;
        font-size: 1rem !important;
    }

    .signin-btn {
        margin-top: 1.2rem !important;
    }
}
