﻿
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    line-height: 1.5;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, textarea, select {
    font: inherit;
}

button {
    border: none;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

*:focus {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

html, body {
    overflow-x: hidden;
}



/* Variables Start */

:root {
    --accent: #E32016;
    --main: #3F3F46;
    --black: #000000;
    --dark-gray: #EFEFF2;
    --gray: #C2BEBE;
    --light-gray: #F7F7F7;
    --light: #0000000f;
    --hover: #EFEFEF;
    --white: #FFFFFF;
    --rounded-sm: 5px;
    --rounded-md: 12px;
    --rounded-lg: 20px;
    --rounded-xl: 30px;
    --rounded-full: 9999px;
    --font-h0: 1.8rem;
    --font-h1: 1.3rem;
    --font-h2: 1rem;
    --font-h3: 0.9rem;
    --font-h4: 0.8rem;
    --font-button: 0.9rem;
    --font-caption: 0.8rem;
    --text-4xl: 2.25rem;
}

/* Variables End */

/* Common Start */

@media (max-width: 991.98px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }
}

* {
    font-family: 'Inter', sans-serif;
}

.text-bold {
    font-weight: 700;
}

.text-black {
    font-weight: 900;
}

h1, .h0 {
    font-size: var(--font-h0);
}

h2, .h1 {
    font-size: var(--font-h1);
}

h3, .h2 {
    font-size: var(--font-h2);
}

h4, .h3 {
    font-size: var(--font-h3);
}

h5, .h4 {
    font-size: var(--font-h4);
}

.main-content-wrapper {
    background-color: var(--light-gray);
    padding: 1.5rem;
    min-height: 100vh;
    position: relative;
    width: calc(100% - 280px);
    margin-left: 280px;
    transition: all 0.3s;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991.98px) {
    .main-content-wrapper {
        width: 100%;
        margin-left: 0;
    }
}

.hover-zoom-in,
.hover-zoom-out {
    transition: transform 0.3s;
}

    .hover-zoom-in:hover {
        transform: scale(1.03);
    }

    .hover-zoom-out:hover {
        transform: scale(0.97);
    }

.s-mobile {
    display: none !important;
}

@media (max-width: 991.98px) {
    .h-mobile {
        display: none !important;
    }

    .s-mobile {
        display: flex !important;
    }
}


.error-validation {
    color: var(--accent);
    max-width: 380px;
    font-size: 12px;
}


/* Common End */

/* Component UI: Buttons Start */

.button {
    padding: 0.75rem 1.5rem;
    transition: transform 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: var(--rounded-md);
}

.button-primary {
    background-color: var(--accent);
    color: var(--white);
    border-radius: var(--rounded-full);
    padding: 1rem 1.5rem;
    transition: all 0.3s;
    font-weight: 600;
}

.button-secondary {
    background-color: var(--accent);
    color: var(--white);
    border-radius: var(--rounded-md);
    padding: .8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

    .button-secondary:hover {
        filter: brightness(110%);
    }

.button-primary:hover {
    transform: scale(0.95);
}

.button-hover:hover {
    transform: scale(0.95) !important;
}

.button-wrap-sidemenu {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.9rem;
    background-color: var(--accent);
    padding: 0.5rem;
}

/* Component UI: Buttons End */


/* Component: Login Start */
.login-backdrop-blur {
    backdrop-filter: blur(1rem);
}

.login-container {
    background-color: rgba(244, 244, 245, 0.5);
    border-radius: 1.5rem;
    padding: 3rem 6rem 5rem 6rem;
}

.login-rounded-3xl {
    border-radius: 1.5rem;
}

.login-header-login img {
    height: 2.5rem;
}

@media (max-width: 768px) {
    .login-container {
        padding: 5rem 1.5rem;
        min-height: 100vh;
        min-width: 100vw;
        border-radius: 0;
    }

    .login-header-login img {
        height: 2.25rem;
    }
}

@media (min-width: 768px) {
    .pt-md-2_25 {
        padding-top: 2.25rem !important;
    }
}

.login-access-button {
    padding: 1.25rem 0;
    margin-top: 36px;
    margin-bottom: 0;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    line-height: 1.5rem;
}

    .login-access-button:not(.disabled):hover {
        background-color: var(--accent) !important;
        color: white !important;
        filter: brightness(110%);
    }

    .login-access-button.disabled {
        cursor: not-allowed !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
        filter: none !important;
    }

.login-input-primary {
    width: 100%;
    padding: 0.5rem 0;
    font-weight: 600;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

    .login-input-primary::placeholder {
        color: rgba(0, 0, 0, 0.3);
        font-weight: 500;
    }

    .login-input-primary:focus {
        outline: none;
        box-shadow: none;
        border-bottom: 2px solid var(--accent);
    }

.select-login {
    padding: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.3);
    font-weight: 500;
    background: transparent;
    font-size: 16px;
}

    .select-login:focus {
        border-bottom: 2px solid var(--accent);
    }

.form-control {
    background-color: transparent;
    border-width: 0 0 1px 0;
    border-radius: 0;
    border-color: rgba(0, 0, 0, 0.2);
    padding-left: 0;
    padding-right: 0;
}

    .form-control:focus {
        border-color: var(--accent);
        box-shadow: none;
        border-width: 0 0 2px 0;
    }

.login-custom-checkbox .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check.login-custom-checkbox {
    margin-bottom: 0;
}

.login-custom-checkbox .form-check-label {
    transition: all 0.3s ease-in-out;
}

    .login-custom-checkbox .form-check-label:hover {
        color: var(--black) !important;
    }

.login-bg-accent {
    background-color: var(--accent);
}

.login-text-black-60 {
    color: rgba(0, 0, 0, 0.6);
}

.login-text-black-30 {
    color: rgba(0, 0, 0, 0.3);
}

.login-bg-black-30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.login-bg-black-20 {
    background-color: rgba(0, 0, 0, 0.2);
}

.login-footer-link {
    transition: all 0.3s ease-in-out;
    color: #000000;
    line-height: unset;
    margin-bottom: 0;
    font-weight: 400;
}

    .login-footer-link:hover,
    .login-forgot-password:hover {
        text-decoration: underline;
        color: var(--black) !important;
    }

.login-forgot-password {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
    margin-bottom: 0;
}

.login-hover-scale {
    transition: all 0.3s ease-in-out;
}

    .login-hover-scale:hover {
        transform: scale(1.03);
    }

.step-verification {
    grid-template-columns: repeat(6,1fr);
}

    .step-verification .login-input-primary {
        width: 100%;
        max-width: 3rem;
        font-size: 3rem;
        text-align: center;
        color: var(--accent);
    }

.back-to-login {
    margin-top: 2.25rem;
    color: rgb(0 0 0 / 0.6);
    font-weight: 500;
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
    line-height: unset;
    margin-bottom: 0;
}

    .back-to-login:hover {
        color: #000000;
    }

/* Component: Login End */



/* Icon Container */
.icon-container {
    position: relative;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease-in-out;
}

    .icon-container img {
        width: 12px;
        height: 12px;
        max-width: 12px;
        max-height: 12px;
    }

/* Expand/Collapse Icons */
.menu-details .plus-icon,
.menu-details .plus-icon-2,
.menu-details .minus-icon,
.menu-details .minus-icon-2 {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.menu-details .plus-icon,
.sub-menu-details .plus-icon-2 {
    opacity: 1;
    visibility: visible;
}

.menu-details .minus-icon,
.sub-menu-details .minus-icon-2 {
    opacity: 0;
    visibility: hidden;
}

.menu-details[open] .plus-icon,
.sub-menu-details[open] .plus-icon-2 {
    opacity: 0;
    visibility: hidden;
}

.menu-details[open] .minus-icon,
.sub-menu-details[open] .minus-icon-2 {
    opacity: 1;
    visibility: visible;
}

/* Image Styling */
img.sub-item-img,
.sub-menu-details .sub-item .icon-container img {
    opacity: 0.4;
}

.sub-menu-details .sub-item:hover .icon-container img,
.sub-item:hover img.sub-item-img {
    opacity: 1;
}

/* Clickable Item */
.item-with-children {
    cursor: pointer;
}

/* Drop-Down Animation */
.animation-sub-items {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* When Open - Animate Expansion */
details[open] .animation-sub-items {
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

/* Component: Sidebar menu in dashboard End */

.login-backdrop-blur {
    backdrop-filter: blur(1rem);
}

.login-container {
    background-color: rgba(244, 244, 245, 0.5);
    border-radius: 1.5rem;
    padding: 3rem 6rem 5rem 6rem;
}

.login-rounded-3xl {
    border-radius: 1.5rem;
}

.login-header-login img {
    height: 2.5rem;
}

@media (max-width: 768px) {
    .login-container {
        padding: 5rem 1.5rem;
        min-height: 100vh;
        min-width: 100vw;
        border-radius: 0;
    }

    .login-header-login img {
        height: 2.25rem;
    }
}

@media (min-width: 768px) {
    .pt-md-2_25 {
        padding-top: 2.25rem !important;
    }
}

/* --- Button Styles --- */
.login-access-button {
    padding: 1.25rem 0;
    margin-top: 36px;
    margin-bottom: 0;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    line-height: 1.5rem;
}

    .login-access-button:not(.disabled):hover {
        background-color: var(--accent) !important;
        color: white !important;
        filter: brightness(110%);
    }

    .login-access-button.disabled {
        cursor: not-allowed !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
        filter: none !important;
    }

/* --- Input Styles --- */
.login-input-primary {
    width: 100%;
    padding: 0.5rem 0;
    font-weight: 600;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

    .login-input-primary::placeholder {
        color: rgba(0, 0, 0, 0.3);
        font-weight: 500;
    }

    .login-input-primary:focus {
        outline: none;
        box-shadow: none;
        border-bottom: 2px solid var(--accent);
    }

/* --- Form Control & Checkbox Styles --- */
.form-control {
    background-color: transparent;
    border-width: 0 0 1px 0;
    border-radius: 0;
    border-color: rgba(0, 0, 0, 0.2);
    padding-left: 0;
    padding-right: 0;
}

    .form-control:focus {
        border-color: var(--accent);
        box-shadow: none;
        border-width: 0 0 2px 0;
    }

.login-custom-checkbox .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check.login-custom-checkbox {
    margin-bottom: 0;
}

.login-custom-checkbox .form-check-label {
    transition: all 0.3s ease-in-out;
}

    .login-custom-checkbox .form-check-label:hover {
        color: var(--black) !important;
    }

/* --- Text Color & Background Styles --- */
.login-bg-accent {
    background-color: var(--accent);
}

.login-text-black-60 {
    color: rgba(0, 0, 0, 0.6);
}

.login-text-black-30 {
    color: rgba(0, 0, 0, 0.3);
}

.login-bg-black-30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.login-bg-black-20 {
    background-color: rgba(0, 0, 0, 0.2);
}

/* --- Footer & Link Styles --- */
.login-footer-link {
    transition: all 0.3s ease-in-out;
    color: #000000;
    line-height: unset;
    margin-bottom: 0;
    font-weight: 400;
}

    .login-footer-link:hover,
    .login-forgot-password:hover {
        text-decoration: underline;
        color: var(--black) !important;
    }

.login-forgot-password {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
    margin-bottom: 0;
}

/* --- Hover Effects --- */
.login-hover-scale {
    transition: all 0.3s ease-in-out;
}

    .login-hover-scale:hover {
        transform: scale(1.03);
    }

/* only for login-4 page */
.step-verification {
    grid-template-columns: repeat(6,1fr);
}

    .step-verification .login-input-primary {
        width: 100%;
        max-width: 3rem;
        font-size: 3rem;
        text-align: center;
        color: var(--accent);
    }


/* only for login-2 page */
.back-to-login {
    margin-top: 2.25rem;
    color: rgb(0 0 0 / 0.6);
    font-weight: 500;
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
    line-height: unset;
    margin-bottom: 0;
}

    .back-to-login:hover {
        color: #000000;
    }