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

:root {
    --primary-color: #E6000D;
    --hover-bg: #A30000;
    --black-color: #000000;
    --border-color: #999999;
    --bg-modal-color: #E7E7E7E5;
    --bg-base: #F5F5F5;
    --bg-warning: #FFFAF4;
    --text-warning: #CA5400;
    --bg-dark: #282828;
    --text-color: #068031;
    --text-heading-timeline: #999999;
    --bg-tag: #EFF9F3;
    --text-tag: #068031;
    --bg-footer-top: #E8E8E8;
    --bg-footer-bottom: #C1C1C1;
    --link-color: #1877F2;
    --bg-button-back: #D3D3D3;
}

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

body {
    font-family: "Open Sans", serif;
    margin: 0 auto !important;
    font-size: 14px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url('../img/arrow_down.svg');
    background-repeat: no-repeat;
    background-position-x: 96%;
    background-position-y: 10px;
}

.max-width-form {
    width: 600px;
}

.main-wrap {
    max-width: 1230px;
    margin: 0 auto;
}

.aspect-43 {
    aspect-ratio: 4 / 3;
}

.btn-main {
    clip-path: polygon(0% 0%, 95% 0%, 100% 25%, 100% 100%, 0% 100%);
    min-height: 52px;
}

.box-shadow {
    box-shadow: 0px 4px 24px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.otp-input {
    width: 52px;
    height: 52px;
    text-align: center;
    font-size: 18px;
    border: 1px solid var(--border-color);
    border-radius: 0px;
}

.otp-input:focus {
    border-color: var(--black-color);
    outline: none;
}

.otp-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner-border {
    animation: spin 1s linear infinite;
}

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

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

.progress-step {
    height: 100%;
    background-color: #dcdcdc;
    width: 50%;
    border-radius: 5px;
}

.progress-step.active {
    background-color: var(--primary-color);
}

.group:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    z-index: 999;
}

.group {
    position: relative;
}

.dropdown {
    position: relative;
    width: 100%;
}

.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dropdown-list li {
    cursor: pointer;
}

.dropdown-list li:hover {
    background-color: #f1f1f1;
}

.dropdown.open .dropdown-list {
    display: block;
}

.dropdown-group {
    padding: 0;
}

.dropdown-group-title {
    font-weight: bold;
    font-size: 14px;
}

.dropdown-group li {
    padding-left: 20px;
}

.image-preview {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
    width: 72px;
    height: 72px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.preview-item .delete-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    border: none;
    width: 20px;
    height: 20px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    line-height: 20px;
    transition: background-color 0.3s ease;
}

.upload-container {
    background-color: white;
    padding: 20px;
    border: 1px dashed #999999;
    text-align: center;
    transition: background-color 0.3s ease;
}

.upload-container input[type="file"] {
    display: none;
}

.upload-container label {
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-container p {
    margin-top: 10px;
    color: #6b7280;
}

.upload-container .info-text {
    font-size: 14px;
    color: #6b7280;
    margin-top: 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal {
    padding: 2rem;
    width: 80%;
    max-width: 600px;
    box-shadow: 0px 4px 24px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
}

.overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.box-change {
    background: #F5F5F5;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.box-clippath {
    clip-path: polygon(85% 0%, 100% 30%, 100% 100%, 0 100%, 0 0);
}

.contact-top:after {
    background: white;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 11%;
    z-index: -1;
}

.contact-top {
    position: relative;
    z-index: 1;
}

.overlay-dropdown {
    display: none;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.nav-bar {
    z-index: 999;
}

input {
    border-radius: 0px !important;
    outline: 0px !important;
    outline-offset: 0px !important;
}

input:focus-visible,
input:focus {
    border-radius: 0px !important;
    outline: 0px !important;
    outline-offset: 0px !important;
}

input[type="date"] {
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 49px !important;
    line-height: 25px !important;
    text-align: left !important;
    width: 100% !important;
    min-width: 100% !important;
    background-color: #fff !important;
    -webkit-min-logical-width: calc(100% - 16px);
}

@media screen and (max-width: 767px) {

    input[type="date"] {
            display: block;
            -webkit-appearance: none;
            -moz-appearance: none;
            min-height: 49px !important;
            line-height: 25px !important;
            text-align: left !important;
            width: 100% !important;
            min-width: 100% !important;
            background-color: #fff !important;
            -webkit-min-logical-width: calc(100% - 16px);
            line-height: 25px !important;
        }

        input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

    input {
        border-radius: 0px !important;
        outline: 0px !important;
        outline-offset: 0px !important;
    }

    .modal {
        width: 90%;
    }

    .dropdown.open .dropdown-list {
        bottom: 0px;
        z-index: 999;
        padding-bottom: 80px;
        top: 0px !important;
    }

    .dropdown-list {
        max-height: 100vh;
        position: fixed;
        top: unset;
        bottom: 0px;
        height: 100vh;
    }

    .overlay-dropdown {
        background-color: rgb(0 0 0 / 50%);
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 1;
        inset: 0;
    }

    .overlay-dropdown.active {
        display: block;
    }

    .table-width {
        width: 1300px;
    }

    .max-width-form {
        width: 100%;
    }

    .contact-top:after {
        top: 14%;
    }

    .dropdown-list.dropdown-list-mb {
        overflow-y: hidden;
    }

    .dropdown-group-wrap {
        overflow-y: auto;
        max-height: calc(100% - 54px);
        padding-bottom: 16px;
    }
}


.d-none{display:none !important;}