﻿

/*----------------------------------------------------dashboard------------------------------------*/



.sidebar-menu li a.active {
    background-color: #fbbd00;
    color: #231f20;
}



.task-card {
    /* background: #fff; */
    /* padding: 20px; */
    border-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.08); */
    position: relative;
}

.task-header h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.task-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.task-col {
    width: 23%;
}

.task-box {
    position: relative;
    padding: 20px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .task-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

.shape-img {
    position: absolute;
    left: 0;
    bottom: 0;
}

.task-title {
    display: block;
    font-size: 14px;
    margin-bottom: 20px;
}

.task-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .task-footer h5 {
        font-size: 18px;
        margin: 0;
        color: #fff;
    }


.task-icon img {
    opacity: .25;
    height: 35px;
    width: 100%;
}


.task-icon {
    font-size: 25px; /* opacity:0.3; */
    height: 60px;
    width: 60px;
    background-color: rgb(255 255 255 / 18%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ffffff33;
}


    .task-icon i {
        color: #fff;
    }

.task-box:hover .task-icon {
    opacity: 1;
    transform: scale(1.1);
    transition: 0.3s;
}

.dash-wrapper {
    background: #f4f6fb;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(26, 23, 64, 0.08), 0 4px 20px rgba(26, 23, 64, 0.05);
    border: 1px solid #dddaf0;
}

.custom-table thead th {
    color: #fff !important;
    background-color: #0B1D45 !important;
    padding: 12px 10px;
}

.table-img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
    border-radius: 6px;
}


.custom-table .btn {
    margin-right: 5px;
}

.custom-table tbody tr:hover {
    background: #f9fafb;
}


.brand-img {
    max-height: 60px;
    max-width: 60px;
    object-fit: contain;
    border-radius: 6px;
}


.custom-table .btn {
    margin-right: 5px;
}


.custom-table tbody tr:hover {
    background: #f9fafb;
}

@media (max-width:992px) {
    .task-col {
        width: 48%;
    }
}

@media (max-width:576px) {
    .task-col {
        width: 100%;
    }
}

/*----------------------------------------------end--------------------------------------*/


/*--------------------------------------------banner master-----------------------------*/

.custom-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #eee;
    border-radius: 8px 8px 0 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}


.label-text {
    font-size: 14px;
    color: #666;
}


.custom-select {
    height: 38px;
    padding: 7px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    cursor: pointer;
    width: 60px;
}


.header-right {
    display: flex;
    align-items: center;
}


.search-box {
    position: relative;
}

    .search-box input {
        height: 38px;
        padding: 0 35px 0 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        outline: none;
        font-size: 14px;
    }

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
}


.search-box input:focus,
.custom-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

@media (max-width:576px) {
    .custom-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }
}



.custom-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.pagination-info {
    font-size: 14px;
    color: #666;
}

.custom-pagination {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

    .custom-pagination li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        background: #f1f5f9;
        color: #555;
        text-decoration: none;
        font-size: 14px;
        transition: 0.3s;
    }

        .custom-pagination li a:hover {
            background: #2563eb;
            color: #fff;
        }

        .custom-pagination li a.active {
            background: #2563eb;
            color: #fff;
            background: linear-gradient(90deg, #fba31c 0%, #fbbd00 100%);
        }

@media (max-width:576px) {
    .custom-pagination-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*---------------------------------------------------end---------------------------------------*/


/*-------------------------------------------------user report---------------------------------*/


.img-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 6px;
    background: #f1f1f1;
}

.file-input {
    width: 100%;
    font-size: 12px;
}

.upload-status {
    font-size: 12px;
    margin-top: 4px;
}

.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .status.active {
        background: #d1fae5;
        color: #065f46;
    }



.custom-col {
    margin-bottom: 20px;
}

.custom-label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-box {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

    .radio-box input {
        position: absolute;
        opacity: 0;
    }

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: 0.3s;
}

    .radio-custom::after {
        content: '';
        width: 10px;
        height: 10px;
        background: #2563eb;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        transition: 0.3s;
    }

.radio-box input:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}


.radio-text {
    font-size: 14px;
}
/*----------------------------------------------------end--------------------------------------*/
.form-control::placeholder {
    font-size: 14px !important;
}


.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

    .badge.yes {
        background: #dcfce7;
        color: #16a34a;
    }

    .badge.no {
        background: #fee2e2;
        color: #dc2626;
    }


.custom-check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    gap: 6px;
}

    .custom-check input {
        display: none;
    }


.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ffc107;
    border-radius: 4px;
    position: relative;
    background: #fff;
}

.custom-check input:checked + .checkmark {
    background: #22c55e;
    border-color: #22c55e;
}

    .custom-check input:checked + .checkmark::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }


.custom-check:hover .checkmark {
    border-color: #22c55e;
}



/*------------------------------------------------question report-------------------------*/

.child-row {
    display: none;
    background: #f8fafc;
}


.toggle-btn {
    cursor: pointer;
    font-weight: bold;
    color: #164b5d !important;
}


.inner-table {
    background: #fff;
    margin: 10px 0;
}

.option-img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.parent-row:hover {
    background: #eef2ff;
}



/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
}

    .toggle-switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    background: #ccc;
    border-radius: 50px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

    .slider::before {
        content: "";
        position: absolute;
        height: 14px;
        width: 14px;
        left: 2px;
        bottom: 2px;
        background: #fff;
        border-radius: 50%;
        transition: 0.3s;
    }

.toggle-switch input:checked + .slider {
    background: #ffc107;
}

    .toggle-switch input:checked + .slider::before {
        transform: translateX(18px);
    }


.qr-img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 3px;
}


/*-------------------------------------------------end------------------------------------*/




/*----------------------------------------------menu permssion-----------------------------*/
.permission-master-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.permission-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.permission-tree,
.permission-tree ul {
    list-style: none;
    padding-left: 0;
}

.menu-title {
    font-weight: 500;
    margin-bottom: 12px;
    color: #333;
}

.permission-tree ul {
    margin-left: 15px;
    border-left: 2px dashed #ffa307;
    padding-left: 15px;
}

    .permission-tree ul li {
        position: relative;
        margin-bottom: 10px;
    }

        .permission-tree ul li::before {
            content: "";
            position: absolute;
            top: 10px;
            left: -15px;
            width: 12px;
            height: 2px;
            background: #ffa307;
        }

.pm-check {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
}

    .pm-check input {
        position: absolute;
        opacity: 0;
    }

.pm-box {
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 2px solid #ffa307;
    border-radius: 4px;
    background: #fff;
}

.pm-check input:checked ~ .pm-box {
    background: #28a745;
    border-color: #28a745;
}

.pm-box::after {
    content: "";
    position: absolute;
    display: none;
}

.pm-check input:checked ~ .pm-box::after {
    display: block;
}

.pm-box::after {
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .pm-check {
        font-size: 13px;
    }
}




.admin-box {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.admin-label {
    font-size: 14px;
    color: #3c3c3c;
    font-weight: 500;
}


.dropdown-menu.to-top {
    min-width: 112px;
    padding: 8px 0;
    border: none;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.dropdown-header-custom {
    display: flex;
    justify-content: flex-end;
    padding: 5px 12px;
}

.close-btn {
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: 0.3s;
}

    .close-btn:hover {
        color: #dc3545;
    }

.to-top-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .to-top-list li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 14px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
        transition: 0.3s;
    }

        .to-top-list li a:hover {
            background: #f5f5f5;
            color: #dc3545;
        }
/*-------------------------------------------------end-------------------------------------*/


/*---------------------------------------------login---------------------------------------*/

/* ===== Layout ===== */
.auth-section {
    min-height: 100vh;
    position: relative;
}

.auth-left {
    display: none;
    position: relative;
}

.auth-left-content {
    height: 100%;
}

.auth-image {
    width: 100%;
    height: 100%;
   /* object-fit: cover;*/
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px 80px;
}

.overlay-title {
    font-size: 36px !important;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.overlay-subtitle {
    font-size: 18px;
}

.auth-right {
    background-color: #fff;
    padding: 50px 30px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    max-width: 400px;
    width: 100%;
}

.logo-link .logo-image {
    max-width: 240px;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 24px !important;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.auth-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.form-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #a7a6a6;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
}

.password-group .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-image: url('assets/images/eye-icon.svg');
    background-size: cover;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.forgot-password {
    font-size: 14px;
    color: #0066ff;
    text-decoration: none;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #0066ff;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    background: linear-gradient(90deg, #fba31c 0%, #ef5734 100%);
}

    .btn-submit:hover {
        background-color: #0051cc;
    }

@media (min-width: 992px) {
    .auth-left {
        display: block;
    }
}

@media (max-width: 991px) {
    .auth-right {
        padding: 40px 20px;
    }
}
/*----------------------------------------------end----------------------------------------*/


/*--------------------------------------------responsive-----------------------------------*/


@media (max-width: 767px) {
    .sidebar-logo img {
        max-height: 2.4375rem;
    }
}



.dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
    position: relative;
    border-bottom: 0px solid #ffc10757;
    margin: 10px 0px;
}
