
@font-face {
    font-family: 'ClashGrotesk';
    src: url('../fonts/ClashGrotesk-Variable.woff2') format('woff2'), url('../fonts/ClashGrotesk-Variable.woff') format('woff'), url('../fonts/ClashGrotesk-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ClashGrotesk' !important;
    font-size: 1.125rem;
    line-height: 1.5;
    background-image: url(../img/login-bg.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    padding: 1rem 7rem 0rem 7rem;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.logo-content span {
    font-size: 1.1rem;
}

page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* pushes footer to bottom if content is short */
    padding-bottom: 1.6rem; /* optional, to give space above footer */
}

.login {
    padding: 1rem 7rem 1rem 7rem;
}

.login-content {
    /* height: 100vh; */
    display: flex;
    align-items: center;
    margin-top: 6rem;
}

.imgelementBox h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.6rem;
}

.imgelementBox p {
    color: #F8F8F8;
    margin-bottom: 11rem;
    opacity: 0.9;
    width: 52%;
    font-size: 1.25rem;
    font-weight: lighter;
}

.imgelementBox {
    margin-top: 5rem;
}

.login-container {
    margin-left: auto;
    width: 780px;
    padding: 2.5rem;
    z-index: 1;
    border: 1px solid #876060;
    /* height: 100vh; */
    border-radius: 20px;
    margin-right: 0;
    color: #fff;
    font-weight: lighter;
    background: rgba(0, 0, 0, 0.5);
}





.btn.login-btn {
    border: 1px solid #FFFFFF;
    border-radius: 10px;
    outline: none;
    padding: 0.6rem 1.3rem;
    text-align: center;
    width: 100%;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-transform: uppercase;
    cursor: pointer;
}

    .btn.login-btn:hover {
        transition: all .5s;
        border-top-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: 0 10px 20px 0 rgb(0 0 0 / 30%);
    }







.logo-content {
    color: #fff;
    line-height: 1;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .login-logo img {
        height: 92px;
    }

.logo-text {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.2;
}

.login-heading {
    font-size: 1.5rem;
    margin-top: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
    color: #fff;
}

.main-logo {
    display: flex;
    align-items: center;
}


.hamburger-menu {
    width: 50px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

    .hamburger-menu span {
        display: block;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(318deg) translate(9px, -10px);
    }

/* Side Menu Styling */
.side-menu {
    position: fixed;
    top: 97px;
    right: 88px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1000;
    min-height: 300px;
    max-height: 300px;
    overflow-y: auto;
}

    /* Triangle pointer */
    .side-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        right: 25px;
        border-width: 0 10px 10px 10px;
        border-style: solid;
        border-color: transparent transparent #fff transparent;
    }

    /* Visible state */
    .side-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .menu-content ul li {
        padding: 0.8rem 0;
        color: #333;
        font-size: 16px;
        cursor: pointer;
    }

        .menu-content ul li a {
            color: #000;
            text-decoration: none;
        }

            .menu-content ul li a:hover {
                color: #ee8f3b;
            }

        .menu-content ul li:last-child {
            border-bottom: none;
        }


/* content css */
.wrapper {
    background: #FFFFFFD9;
    border: 1px solid #FFFFFF;
    border-radius: 30px;
    opacity: 1;
    margin-top: 2rem;
    padding: 2.6rem;
}

.wrapper-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

    .wrapper-title .back-btn {
        text-decoration: none;
    }

        .wrapper-title .back-btn:hover i {
            border: 1px solid #F6911E;
            background-color: #fff;
            color: #F6911E;
        }

        .wrapper-title .back-btn i {
            border: 1px solid #F6911E;
            background-color: #F6911E;
            color: #fff;
            border-radius: 100%;
            padding: 0.4rem 0.2rem;
            display: block;
            height: 27px;
            width: 27px;
            display: flex;
            align-items: center;
        }

.wrapper .wrapper-title h2 {
    color: #F6911E;
    font-weight: 500;
    margin-bottom: 0;
}

.wrapper-content p {
    font-size: 1.125rem;
    opacity: 0.8;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px rgba(28, 28, 28, 0.95) inset !important; /* Dark background */
    -webkit-text-fill-color: #fff !important; /* White text */
    caret-color: #fff;
}

.wrapper-content {
    /*min-height: calc(100vh - 345px);*/ /* 200px = approx header+footer height */
    /*max-height: calc(100vh - 372px);*/
    overflow-y: auto; /* enables vertical scrolling when content overflows */
    /* hide horizontal scroll unless really needed */
    padding-right: 1rem; /* adjust for inner padding, prevents cut-off */
    flex: 1 0 auto;
    overflow-y: auto; /* ✅ SCROLL ONLY HERE */
    padding-right: 1rem;
}

    .wrapper-content h4 {
        font-weight: 500;
        margin: 1.8rem 0 0.7rem;
        color: #4E4848;
        font-size: 1.425rem;
    }

::-webkit-scrollbar {
    width: 3px;
    background-color: #CCCCCC;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(248, 248, 248, 0.3);
    background-color: #444444;
}

table tbody tr, table thead tr {
    border-bottom: 1px solid #d1d1d1;
}

table tbody tr {
    font-size: 1.125rem;
}

table thead tr th {
    font-weight: 500;
    background: #d6cec9 !important;
    font-size: 1.1rem;
}

.custome-list {
    position: relative;
    padding-left: 0;
}

    .custome-list li {
        position: relative;
        list-style: none;
        line-height: 1.2;
        font-size: 1.125rem;
        padding-left: 1.7rem;
        margin-bottom: 1rem;
        opacity: 0.8;
    }

.fw-500 {
    font-weight: 500;
}

.custome-list li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    background-image: url('../img/right-arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
}

footer {
    text-align: center;
    padding: 0rem 1rem 0;
    color: #FFFFFF;
    opacity: 0.7;
    background: transparent;
}

.menuleft-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
}

.light-bg {
    background-color: #fcfaf6 !important;
}

.warnning-bg {
    background-color: #fff4e4 !important;
}

.table thead tr th:first-child {
    border-top-left-radius: 15px;
    padding: 0.4rem 1rem;
}

.table thead tr th:last-child {
    border-top-right-radius: 15px;
}

.custome-table {
    width: 80%;
}

.custome-img {
    width: 90%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-select {
    padding: 0.875rem 2.25rem 0.875rem .75rem;
}

.form-control {
    padding: 0.875rem .75rem;
}

label {
    margin-bottom: .3rem;
}

.btn.btn-success {
    padding: 0.5rem 1.2rem;
    font-size: 1.25rem;
    background-color: #239346;
    border: 1px solid #239346;
}

.btn-success:hover {
    color: #fff;
    background-color: #157347;
    border-color: #146c43;
}

.code-img {
    width: 100%;
    text-align: center;
    display: block;
    margin: 0rem auto 1.3rem;
}

.coustme-card {
    position: relative;
    background: #fff6ecad;
    height: 100%;
    border-radius: 15px;
}

    .coustme-card .coustmecard-body {
        padding: 1rem 1.6rem;
    }

    .coustme-card .custome-title {
        padding: 1rem 1.6rem;
        margin: 0;
        border-bottom: 1px solid #f1e8dd;
    }
/* .coustme-card::after{
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    border: 1px solid #ccc;
    right: 0;
    top: 0;
} */

.img-left {
    background: #f6f5f5b5;
    border-radius: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}

    .img-left img {
        border-radius: 15px;
        width: 100%;
    }

.image-container {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
    width: 54%;
}

.zoom-img {
    display: block;
    max-width: 100%;
    /* transition: transform 0.3s ease; */
    margin: 0 auto;
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.6rem 0.8rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    transition: opacity 0.3s ease;
    font-size: 1.5rem;
}

.image-container:hover .zoom-img {
    /* transform: scale(1.05); */
}

.image-container:hover .zoom-icon {
    opacity: 1;
}

/* Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.8);
}

    .custom-modal .modal-content {
        margin: 5% auto;
        display: block;
        max-width: 50%;
        max-height: 82%;
        border-radius: 8px;
    }

    .custom-modal .close-btn {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
    }

        .custom-modal .close-btn:hover {
            color: #f6911e;
        }

.manadatory {
    color: #bf1414;
}

@media (max-width:1366px) {
    .wrapper {
        padding: 2rem;
        margin-top: 2rem;
    }

    /*    .wrapper-content {
        min-height: calc(100vh - 345px);
        max-height: calc(100vh - 372px);
    }*/

    body {
        padding: 1rem 5rem 0rem 5rem;
    }
}

@media (max-width:1024px) {
    footer {
        padding: 0rem 1rem 1rem;
    }
}

@media (max-width:768px) {
    .custome-table {
        width: 100%;
    }

    .coustme-card {
        height: auto;
        margin-bottom: 1rem;
    }

    body {
        height: 100%;
        padding: 1rem 3rem 0rem 3rem;
    }

    .login-logo img {
        height: 80px;
    }

    footer {
        padding: 1rem 1rem 1rem;
    }

    .main-logo .me-3 {
        margin-right: 0.4rem !important;
    }
}

@media (max-width:630px) {
    .login-logo img {
        height: 57px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-content span {
        font-size: 1rem;
    }
}

@media (max-width:576px) {
    .image-container {
        position: relative;
        display: block;
        cursor: pointer;
        margin: 0 auto;
        text-align: center;
        width: 80%;
    }

    body {
        padding: 1rem 2rem 0rem 2rem;
    }

    .btn.login-btn {
        padding: 0.4rem 0.7rem;
    }

    .menu-content ul li {
        padding: 0.8rem 0 0.1rem;
        font-size: 18px;
    }
}

@media (max-width:530px) {
    .btn.login-btn {
        display: none;
    }

    .side-menu {
        top: 86px;
        right: 9px;
    }

    .menuleft-content {
        padding: 0;
    }

    .hamburger-menu {
        width: 25px;
        height: 19px;
    }

        .hamburger-menu.active span:nth-child(3) {
            transform: rotate(318deg) translate(8px, -5px);
        }

    footer {
        padding: 2rem 0rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width:430px) {
    .login-logo img {
        height: 50px;
    }
}

@media (max-width:375px) {
    body {
        padding: 1rem 1rem 0rem 1rem;
    }
}
