@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --WhiteColor: #fff;
    --BlackColor: #000;
}

body {
    overflow-x: hidden;
    font-family: "Rubik", sans-serif;
    position: relative;
    min-height: 100vh;
    /* background-color: var(--WhiteColor); */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bg_image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

ul,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.main_loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #d1d1d1 #d1d1d1 transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #98001C #98001C;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}

.loader::before {
    width: 42px;
    height: 42px;
    border-color: #d1d1d1 #d1d1d1 transparent transparent;
    animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}


.login_bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-card {
    background: rgba(255, 255, 255, 1);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    background: url(../images/bg_image.png);
}

.btn-inspire {
    background: #98001c;
    border: none;
    color: var(--WhiteColor);
    font-weight: bold;
    height: 50px;
    border-radius: 25px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-inspire:hover,
.btn-inspire:active {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--WhiteColor) !important;
    background-color: #98001C !important;
}

.logo-img {
    max-width: 190px;
    margin-bottom: 30px;
}

.input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.input-wrap i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #98001C;
}

.input-wrap input {
    padding-left: 42px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d5d5d5;
    transition: 0.3s ease;
}

.input-wrap input:focus {
    border-color: #98001C;
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.2);
}

.logo {
    filter: brightness(0) invert(1);
}

.custom-nav {
    background: linear-gradient(178.2deg, rgb(156 18 37 / 74%) 10.9%, rgb(211 17 45 / 62%) 62.6%), url(../images/gu.png);
    padding: 40px;
    background-repeat: no-repeat;
    border-radius: 0 0 40px 40px;
    background-size: cover;
}


.custom_nav_div {
    background: linear-gradient(113.3deg, rgb(147 11 30) 6.9%, rgb(71 4 13) 75%);
    color: #fff;
    padding: 20px 29px;
    margin-top: -39px !important;
    border-radius: 40px 0px !important;
}




.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background: #47040d;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 20px 8px 20px 32px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidbar-icons {
    position: absolute;
    top: 2%;
    left: 5%;
    color: #fff;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav a img {
    margin-right: 8px
}

.radio-div {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px !important;
    margin-top: 0.6rem;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    padding: 0 !Important
}

.profile-images {
    border: 3px solid #fff;
}

.custom_c_btn img {
    margin-right: 5px;
}

.img-div {
    border-bottom: 1px solid #fff;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.button-container {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 10px !important;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

@media print {

    .custom_c_btn,
    .float,
    .sidbar-icons {
        display: none;
    }

    body {
        background: #fff !important;
    }
}

.strips-div {
    border: 2px solid #ddd;
    border-radius: 15px !important;
}

.h-4 {
    width: 73px;
    margin-top: -10px;
    margin-left: 22px;
    background: white;
}

.btn-outline-danger {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-btn h6 {
    word-break: break-all;
    font-weight: 600;
}

.img-btn img {
    width: 100%;
}

.img-btn>input {
    display: none
}

.img-btn>img {
    cursor: pointer;
    border: 5px solid transparent;
}

.img-btn>input:checked+img {
    border-color: black;
    border-radius: 10px;
}

.author {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: black;
    padding: 3px;
    border-radius: 5px;
}

.author p {
    text-align: center;
    padding: 5px 10px;
    margin: 0;
    color: white;
    border: 2px solid lightgrey;
    border-radius: 5px;
}

.author a {
    color: lightgrey;
}

.custom_c_btn {
    width: 280px;
    border-radius: 8px !important;
    background: linear-gradient(90deg, #47040d, #e5000d);
    padding: 15px 0;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px !important;
}

.reverse {
    background: linear-gradient(90deg, #e5000d, #47040d);
}


.custom_c_btn:hover {
    background: linear-gradient(270deg, #47040d, #e5000d);
}

.reverse:hover {
    background: linear-gradient(270deg, #e5000d, #47040d);
}

.report_span {
    font-weight: 500;
}

.radio-group,
.check-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.radio-group input[type="radio"],
.check-group input[type="checkbox"] {
    display: none;
}

.radio-group label,
.check-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #d0d0d0;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.radio-group label::before,
.check-group label::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.radio-group input[type="radio"]:checked+label,
.check-group input[type="checkbox"]:checked+label {
    border-color: #98001c;
    background: #98001c;
    color: #fff;
    box-shadow: 0 4px 12px rgba(23, 41, 96, 0.25);
}

.radio-group input[type="radio"]:checked+label::before,
.check-group input[type="checkbox"]:checked+label::before {
    border-color: #fff;
    background: #fff;
    box-shadow: inset 0 0 0 4px #98001c;
}

.radio-group label:hover,
.check-group label:hover {
    border-color: #98001c;
    color: #98001c;
}

.radio-group label:hover::before,
.check-group label:hover::before {
    border-color: #98001c;
}

.custom_field {
    border: 1px dashed #98001C;
    padding: 10px 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

.select2-container--default .select2-selection--single {
    border: 1px dashed #98001C;
}

.select2-container {
    width: 100% !important;
}

.notIntheList {
    border: 1px solid #98001C;
    padding: 11px 30px;
    border-radius: 10px !important;
    color: #98001C;
    width: 100%;
}

.notIntheList:hover,
.notIntheList.active {
    background: #98001C;
    color: #fff;
    border-color: #98001C;
}

.btnnext,
.btnnext:hover,
.btnnext:active {
    padding: 10px 30px;
    background-color: #98001C;
    color: #fff;
    border-radius: 10px;
}

fieldset {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
}

fieldset.active {
    display: block;
}


.success_circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #98001C;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.5s ease;
}

.success_check {
    font-size: 38px;
    color: #98001C;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success_title {
    color: #98001C;
    font-weight: 700;
    font-size: 1.5rem;
}

.summary_card {
    border: 1px dashed #98001C;
    border-radius: 15px;
    overflow: hidden;
}

.summary_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px dashed #f0d0d5;
    gap: 12px;
}

.summary_row:nth-child(odd) {
    background: #fff5f6;
}

.summary_label {
    font-weight: 600;
    color: #98001C;
    font-size: 0.9rem;
    min-width: 120px;
}

.summary_value {
    font-size: 0.9rem;
    color: #333;
    text-align: right;
}

.photo-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.photo-thumb-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #dee2e6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.photo-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.photo-thumb-remove:hover {
    background: rgba(220, 53, 69, 1);
}

.add-photo-btn, .add-photo-btn:hover, .add-photo-btn:active {
    background-color: #98001C;
    color: #fff;
    border: none;
    padding: 10px 30px;
}

.add-photo-btn.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.main_content_box{
    background-color: var(--WhiteColor);
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}
.main_content_box table th:nth-child(3), .main_content_box table th:nth-child(4){
    text-align: center;
}

.btn_page,
.btn_page:hover,
.btn_page:active {
    width: 40px;
    height: 40px;
    background-color: #ffebef !important;
    color: #98001C !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 5px;
}

.active-page,
.active-page:hover,
.active-page:active {
    background-color: #98001C !important;
    color: #fff !important;
}

.btn_page:first-child,
.btn_page:last-child {
    width: auto;
    padding: 5px 15px;
    border-radius: 20px;
}

table thead{
    background-color: #98001C;
    color: #fff;
}
table tr th, table tr td{
    padding: 12px 20px !important;
}
