@font-face {
    font-family: "Kalpurush";
    src: url("/v3/assets/css/fonts/Kalpurush.ttf");
}
body {
    font-family: "Lato", "Kalpurush", sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
    margin: 0px !important;
}

#app {
    background: url("/assets/images/web-images/mette-bg.jpg") no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    min-height: 100vh;
}

.cl-loader {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(30px);
}

.loader {
    width: 40px;
    aspect-ratio: 1;
    position: relative;
}
.loader:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    --c: #0000, #198754 1deg 120deg, #0000 121deg;
    background: conic-gradient(from 0deg, var(--c)) top right,
        conic-gradient(from 120deg, var(--c)) bottom,
        conic-gradient(from 240deg, var(--c)) top left;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    animation: l25 2s infinite cubic-bezier(0.3, 1, 0, 1);
}
@keyframes l25 {
    33% {
        inset: -8px;
        transform: rotate(0deg);
    }
    66% {
        inset: -8px;
        transform: rotate(180deg);
    }
    100% {
        inset: 0;
        transform: rotate(180deg);
    }
}

.card {
    max-width: 1110px;
    margin: 0 auto;
    background: none;
    background-color: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px);
}

.card-header h5 {
    margin: 0;
    font-weight: 600;
}

span.input-group-text {
    overflow-x: scroll;
    white-space: nowrap !important;
}

span.input-group-text::-webkit-scrollbar {
    display: none;
}

span.input-group-text {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

span.input-group-text,
input[type="text"],
textarea,
select {
    font-size: 16px !important;
    text-align: start;
}

ul.certification-list {
    display: flex;
    flex-direction: column;
    padding: 0;
}

ul.certification-list li {
    list-style: none;
    border-bottom: 1px solid #ccc;
}

ul.certification-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 0px;
    color: #020617;
}

ul.certification-list li a:hover {
    background: #198754;
    color: #fff;
}

ul.type-dropdown li {
    border: none;
}

ul.type-dropdown li a {
    justify-content: start;
}

ul.payment-method-list {
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

ul.payment-method-list li {
    list-style-type: none;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 3px 3px 2px #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

ul.payment-method-list li label {
    cursor: pointer !important;
}

ul.payment-method-list li label img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* Image preview */

.image_preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image_preview .image-container {
    position: relative;
    display: inline-block;
}

.image_preview .image-container img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.image_preview .image-container .remove-btn {
    position: absolute;
    top: -8px;
    right: -10px;
    color: red;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.active {
    background: #198754;
    color: #fff !important;
}

/* mobile tab */
.web-menus {
    display: none;
}

.web-menus ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.web-menus ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.web-menus ul li a {
    color: #475569;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.web-app-menus ul {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.web-app-menus ul li {
    list-style: none;
}
.web-app-menus ul li a {
    text-decoration: none;
}

.mobile-tab {
    position: fixed;
    bottom: 0;
    left: 0;
    content: "";
    background: #fff;
    width: 100%;
    box-shadow: 0px -2px 8px #ccc;
}

.mobile-tab .tabs {
    position: relative;
}
.mobile-tab .tabs ul {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mobile-tab .tabs ul li {
    list-style: none;
    padding: 16px 0;
}

.mobile-tab .tabs ul li a {
    font-size: 24px;
    display: flex;
    gap: 2px;
    flex-direction: column;
    text-decoration: none;
    text-align: center;
    color: #198754;
}
.mobile-tab .tabs ul li a span {
    font-size: 16px;
    color: #aaa;
}

.active-menu {
    color: #198754 !important;
    font-weight: bold;
}

.active-tab {
    border-top: 4px solid #198754;
}

#app {
    padding-bottom: 120px;
}

@media (min-width: 768px) {
    #app {
        padding-bottom: 0px;
    }

    .mobile-tab {
        display: none;
    }

    .web-menus {
        display: block;
    }
}

/*  */

.tab-pane.fade.show.active {
    background: none;
}

.nav.nav-tabs {
    border-bottom: 2px solid #ccc;
    font-size: 20px;
    font-weight: 600;
}

.nav-tabs .nav-link {
    background: none !important;
    color: #198754 !important;
    font-size: 18px;
}

.nav-tabs .nav-link.active {
    border-bottom: 4px solid #198754 !important;
}

.service-meta {
    font-weight: 500;
    color: #198754;
}

/*  */

.web-app-menu-button {
    border: none;
    background: #198754;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 1.2rem;
    color: #fff;
}

.cl-card {
    background: #fff !important;
}

.image_preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image_preview .image-container {
    position: relative;
    display: inline-block;
}

.image_preview .image-container img,
.image_preview .image-container p,
.attachment-add-button label {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image_preview .image-container .remove-btn {
    position: absolute;
    top: -8px;
    right: -10px;
    color: red;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.title-border {
    position: relative;
    padding-left: 30px;
    background: #19875411;
    color: #64748b !important;
    height: 40px;
    place-content: center;
    border: 1px solid #1987543f;
}

.title-border::after {
    position: absolute;
    content: "";
    background: #1987543f;
    height: 100%;
    width: 6%;
    left: 0;
    top: 0;
    border-radius: 0px 20px 20px 0px;
}

input.form-control:focus, select.form-select:focus {
    outline: none !important;
    box-shadow: none !important;
}

input.form-control:focus, select.form-select:focus {
    font-weight: bold;
    color: #198754 !important;
}


/* mobile views for applications */

@media (max-width: 502px) {
    .public-civic-certificate-type-list {
        gap: 0px !important;
    }
    .public-civic-certificate-type-list h4 {
        display: block !important;
        width: 100%;
    }
    .public-civic-certificate-type-list label {
        margin-right: 10px !important;
    }
    #offcanvasRight {
        width: calc(100% - 50px);
    }
}
