:root {
    --primary: #20aba0;
    --primary-dark: #31958a;
    --red: #ff4d4f;
    --dark: #35414a;
    --darker: #1a2329;
    --dark-text: #3f3f3f;
    --light-text: #718096;
    --back-color: #f4f4f5;
}

@font-face {
    font-family: myFont;
    src: url(../fonts/NunitoSans-Regular.ttf);
}

@font-face {
    font-family: myFontMed;
    src: url(../fonts/NunitoSans-SemiBold.ttf);
}

@font-face {
    font-family: myFontLite;
    src: url(../fonts/NunitoSans-Light.ttf);
}

@font-face {
    font-family: myFontBold;
    src: url(../fonts/NunitoSans-Bold.ttf);
}

@font-face {
    font-family: myFontExtraBold;
    src: url(../fonts/NunitoSans-ExtraBold.ttf);
}

html {
    scroll-behavior: smooth !important;
    overflow-x: hidden;
    font-family: myFont !important;
}

body {
    overflow-x: hidden;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background: var(--primary);
    color: white;
    font-size: 14px;
}

.custom-file-upload i {
    color: white !important;
}

.fields-label {
    margin-bottom: 4px !important;
    font-size: 16px;
    color: #363535 !important;
}

.sub-text {
    margin-bottom: 5px !important;
    font-size: 17px;
    margin-top: 9px;
    color: grey !important;
}

.sub-text-2 {
    margin-bottom: 5px !important;
    font-size: 17px;
    margin-top: 9px;
    color: var(--light-text) !important;
}

.primary-text {
    color: var(--primary) !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

button:focus {
    outline: 0;
}

.v-label {
    margin-bottom: 0px !important;
    font-family: myFont !important;
}

.grey-text {
    color: grey !important;
}

hr {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: myFontBold !important;
    font-weight: 600;
}

p {
    font-family: myFont !important;
}

span {
    font-family: myFont !important;
}

a {
    text-decoration: none !important;
    font-family: myFont !important;
}

input {
    font-family: myFont !important;
}

.v-btn {
    font-weight: 600 !important;
    text-transform: capitalize !important;
}

.v-list-item__title {
    font-family: myFontMed !important;
}

.b-white {
    border: 1px solid white !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-button {
    width: 10px;
    height: 5px;
    background: #f1f1f1;
    display: none;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border: thin solid lightgray;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Other CSS */

.ub-main {
    background-color: var(--back-color);
    padding: 30px 0px !important;
}

.auth-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    width: 380px;
    padding: 50px 0px;
}

.auth-section h2 {
    font-size: 31px;
    color: var(--dark-text);
}

.social-btn {
    font-weight: 600;
    position: relative;
    transition: all 0.2s ease;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    text-align: center;
    background-color: transparent;
    color: var(--dark-text) !important;
    border: 2px solid #e2e8f0;
}

.social-btn:hover {
    border-color: var(--primary) !important;
    background-color: transparent;
    border: 2px solid;
}

.social-btn img {
    width: auto;
    height: 21px;
    vertical-align: middle;
}

.social-btn-text {
    margin-left: 6px;
    padding-top: 12px;
}

/* Navbar CSS */

.ub-header {
    background-color: var(--darker);
    padding: 14px 0px;
    border-top: 4px solid var(--primary);
}

.ub-header h2 {
    color: white;
}

.ub-header .nav-menu {
    display: flex;
    justify-content: end;
    align-items: center;
}

.nav-menu ul {
    display: inline-flex;
    list-style-type: none;
    padding-left: 0px !important;
    margin-right: 15px;
}

.nav-menu ul li a {
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
}

.nav-menu ul li a:hover {
    color: var(--primary);
}

/* Card CSS */

.ub-card {
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.03), 0 0.275rem 0.75rem -0.0625rem rgba(0, 0, 0, 0.06) !important;
    padding: 1.5rem;
    position: relative;
    background-color: #fff !important;
    border-radius: 0.4375rem !important;
    transition: all 0.2s ease !important;
}

/* ADMIN */

.admin-nav-logo {
    padding: 14px 17px;
    color: var(--dark-text);
    background-color: #33686326;
}

.admin-nav-logo p {
    margin-bottom: 0 !important;
    color: gray !important;
    font-size: 15px;
    font-weight: 600;
}

.admin-pages-header {
    background-color: var(--primary);
    padding: 9px 0px;
    margin-bottom: 15px;
}

.admin-pages-header h2 {
    color: white;
}

.hover-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125) !important;
}

.nav-user p {
    margin-bottom: 0px !important;
    color: #ddd;
    margin-left: 9px;
    margin-right: 9px;
    font-size: 14px;
    font-weight: 600;
}

/* MY ACCOUNT CSS */

.my-ac-nav {
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.12);
    margin-bottom: 1.5rem;
    position: relative;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 0.2rem;
}

.my-ac-nav .my-ac-nav-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 0.2rem 0.2rem 0 0 !important;
}

.my-ac-nav .my-ac-list-group {
    border-bottom: inherit;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.my-ac-nav .my-ac-list-group:last-child {
    border-bottom-width: 0;
    border-bottom-right-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.my-ac-list-group-item {
    font-size: 15px;
    color: #495057 !important;
    border-width: 0 0 1px !important;
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.my-ac-list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.my-ac-list-group-item:hover {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #f8f9fa;
}

.my-ac-list-group-item:last-child {
    border-bottom-width: 0 !important;
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}

.account-card {
    padding: 20px;
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.12);
    margin-bottom: 1.5rem;
    position: relative;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 0.2rem;
}

/* MY PROFILE */

.my-profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my-profile-section img {
    height: 150px;
    width: 150px;
    background-color: rgb(219, 219, 219);
    object-fit: cover;
    border-radius: 20rem;
}

/* Page not Found CSS */

.page-not-found {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    padding: 50px 20px;
}

.page-not-found img {
    height: auto;
    width: 436px;
}

.nav-menu-btn {
    display: none !important;
}

.img_gallery {
    padding: 15px !important;
}

/* IMAGES SECTION CSS */

.images-container {
    position: relative;
}

.images-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #c6c8ca;
}

.images-container h4 {
    margin-top: 13px;
    color: #303030;
}

.image-con {
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
}

.image-con img {
    object-fit: contain;
    cursor: pointer;
}

/* .image-con:hover img {
    transform: scale(1.1);
} */

.images-container:hover .image-action {
    visibility: visible;
}

.image-action {
    visibility: hidden;
    position: absolute;
    top: 2px;
    right: 3px;
    background: white;
    height: 34px;
    width: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.image-action i {
    font-size: 23px !important;
}

/* IMage view */

.image-view {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-view img {
    height: 520px;
    width: 720px;
    object-fit: contain;
}

/* Admin Dashboard CSS (compact tweaks for tighter layout) */

.dash-cards {
    display: block;
    position: relative;
    box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125) !important;
    background-color: white;
    border-radius: 4px;
    padding: 14px 14px;
    margin: 8px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
}

/* Inline stats next to the page title */
.stats-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}

.stats-inline .stat {
    font-size: 14px;
    color: var(--light-text);
}

.stats-inline .stat strong {
    color: var(--dark-text);
}

.stats-inline .sep {
    color: #c0c4c9;
    margin: 0 6px;
}

.filters-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--light-text);
}

.dash-cards:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: var(--primary);
    height: 24px;
    width: 44px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-out;
}

.dash-cards:hover:before {
    transform: scale(18);
}

.dash-cards p {
    color: #495057;
}

.dash-cards h1 {
    color: #495057;
    font-size: 24px;
    line-height: 1.25;
    margin: 6px 0 0;
}

.dash-cards:hover p {
    transition: all 0.3s ease-out;
    color: rgba(255, 255, 255, 0.8);
}

.dash-cards:hover h1 {
    transition: all 0.3s ease-out;
    color: #ffffff;
}

.go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 44px;
    height: 36px;
    overflow: hidden;
    top: 0;
    right: 0;
    background-color: var(--primary);
    border-radius: 0 4px 0 32px;
}

.go-corner i {
    margin-top: -4px !important;
    margin-right: -4px !important;
    color: white !important;
}

.ub-no-result {
    height: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ub-no-result img {
    height: auto;
    width: 250px;
}

.ub-no-result h2 {
    font-size: 16px;
    margin-top: 19px;
    color: grey;
}

/* .user-cards {
    display: block;
    position: relative;
    box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125) !important;
    background-color: white;
    border-radius: 4px;
    padding: 25px 18px;
    margin: 6px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    height: 160px;
    cursor: pointer;
} */

.show-box {
    cursor: pointer;
}

.list-con {
    position: relative;
}

.list-card {
    display: flex !important;
    background-color: white !important;
    padding: 25px 18px;
    margin: 6px;
    box-shadow: 4px 20px 47px 0 rgba(0, 0, 0, 0.1) !important;
    height: 8rem;
    z-index: 0;
}

.list-card img {
    height: 70px !important;
    width: 70px !important;
    object-fit: cover !important;
    background-color: rgba(128, 128, 128, 0.219);
    border-radius: 0px !important;
}

.list-card h4 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card p {
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-medium span {
    /* font-size: 12px; */
    color: gray;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}

.set-time {
    font-size: 14px;
    color: gray;
    display: flex;
    justify-content: end;
}

.user-detail-row{
    background-color: #e1f5f2;
}


.average-cards {
    display: block;
    position: relative;
    box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125) !important;
    background-color: white;
    border-radius: 4px;
    padding: 25px 18px;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
}