@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-optical-sizing: auto;
    background-color: #f5f5f5;
}

.bg-home {
    background-image: url('/assets/images/bg_home.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.text-home h1 {
    color: #ffffff;
    font-weight: 700;
    font-size: 40px;
}

.text-home h2 {
    color: #ffffff;
    font-weight: 400;
    font-size: 36px;
}

.text-home p.text-desc-home {
    color: #ffffff;
    font-weight: 400;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 37px;
}

.btn-primary {
    background-color: #6A99DD;
    color: #ffffff;
    border: none;
    font-size: 20px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #4A7BC8;
    opacity: 1;
}

.btn-secondary {
    border-color: #6A99DD;
    color: #6A99DD;
    background-color: transparent;
    font-size: 20px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: #4A7BC8;
    color: #4A7BC8;
    background-color: rgba(74, 123, 200, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

[x-cloak] {
    display: none !important;
}

.front-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.front-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #f9fafb;
}

.front-topbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EBEBEB;
    padding: 25px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 96px;
    gap: 16px;
    position: relative;
    overflow: visible;
}

.front-topbar .logo {
    flex-shrink: 0;
}

.front-topbar .logo-text {
    font-size: 13px;
    color: #404040;
    font-weight: 400;
    margin-left: 20px;
    white-space: nowrap;
}

.front-topbar .text-initials {
    margin-right: 12px;
    text-align: right;
}

.front-topbar .client-fullname {
    font-weight: 500;
    font-size: 16px;
    color: #404040;
}

.front-topbar .client-email {
    font-weight: 400;
    font-size: 14px;
    color: #8A9AB0;
}

.front-topbar .search-wrapper {
    flex: 1 1 auto;
    min-width: 180px;
    max-width: 483px;
    position: relative;
}

.front-topbar .initials-block {
    margin-right: 20px !important;
}

#searchResults {
    position: absolute;
    left: 0;
    width: 100%;
    min-width: 400px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    z-index: 50;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0px 4px 20px 0px #00000017;
}

.front-topbar .search-input {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    padding: 3px 17px 3px 40px;
    background-color: #FBFBFB;
    color: #303030;
    border: none;
    outline: none;
    font-size: 14px;
}

.front-topbar .search-input::placeholder {
    color: #B1B1B1;
    font-size: 14px;
    font-weight: 400;
}

.front-topbar .search-input:focus {
    outline-offset: 1px;
}

.front-topbar .flex {
    flex-shrink: 0;
}

.front-topbar .flex:first-child {
    flex-shrink: 0;
}

.front-topbar .flex:last-child {
    flex-shrink: 0;
}

.topbar-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 8px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-icon:hover {
    background-color: #e5e7eb;
}

.icon-topbar {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-topbar-search {
    background-image: url('/assets/images/icon/search.svg');
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-topbar-notification {
    background-image: url('/assets/images/icon/topbar-notification.svg');
}

.icon-topbar-settings {
    background-image: url('/assets/images/icon/topbar-settings.svg');
}

.icon-topbar-clients {
    background-image: url('/assets/images/icon/menu/menu-clients-black.svg');
}

.icon-topbar-logout {
    background-image: url('/assets/images/icon/topbar-logout.svg');
}

[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]:before,
[data-tooltip]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: #1f2937;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 4px;
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-tooltip]:after {
    content: '';
    bottom: calc(100% + -5px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    z-index: 99999;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}

.desktop-actions {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
}

.mobile-actions {
    display: none !important;
}

.initials-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    margin-left: 8px;
}

.sidebar {
    background: #F8F8F8;
    padding: 20px 48px;
    height: 92px;
    border-bottom: 1px solid #E8E8E8;
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-x;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.sidebar-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-item {
    margin: 0;
    flex-shrink: 0;
}

.nav-link {
    min-width: 284px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 40px;
    border: 1px solid #6A99DD;
    border-radius: 100px;
    background: #FFFFFF;
    color: #6A99DD;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(106, 153, 221, 0.05);
}

.nav-link.active {
    background: #6A99DD;
    color: #FFFFFF;
}

.nav-link.active:hover {
    background: #4A7BC8;
}

.nav-badge {
    min-width: 24px;
    width: 34px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 0 8px;
    flex-shrink: 0;
}

.nav-link.active .nav-badge {
    background: #FFFFFF;
    color: #6A99DD;
}

.nav-link:not(.active) .nav-badge {
    background: #F6F8FA;
    color: #6A99DD;
}

@media (max-width: 1400px) {
    .sidebar {
        padding: 18px 32px;
        height: 84px;
    }

    .sidebar-nav {
        gap: 20px;
    }

    .nav-link {
        min-width: 240px;
        height: 48px;
        padding: 16px 32px;
        font-size: 18px;
        gap: 12px;
    }

    .nav-badge {
        min-width: 22px;
        width: 30px;
        height: 22px;
        font-size: 11px;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        padding: 16px 24px;
        height: 76px;
    }

    .sidebar-nav {
        gap: 16px;
    }

    .nav-link {
        min-width: 200px;
        height: 44px;
        padding: 12px 24px;
        font-size: 16px;
        gap: 10px;
    }

    .nav-badge {
        min-width: 20px;
        width: 26px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        padding: 14px 20px;
        height: 68px;
        justify-content: center;
    }

    .sidebar-nav {
        gap: 12px;
    }

    .nav-link {
        min-width: 160px;
        height: 40px;
        padding: 10px 20px;
        font-size: 14px;
        gap: 8px;
        border-radius: 80px;
    }

    .nav-badge {
        min-width: 18px;
        width: 24px;
        height: 18px;
        font-size: 9px;
        padding: 0 6px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        padding: 12px 16px;
        height: 60px;
        justify-content: center;
    }

    .sidebar-nav {
        gap: 10px;
    }

    .nav-link {
        min-width: 130px;
        height: 36px;
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
        border-radius: 60px;
    }

    .nav-badge {
        min-width: 16px;
        width: 20px;
        height: 16px;
        font-size: 8px;
        padding: 0 4px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        padding: 10px 12px;
        height: 52px;
        justify-content: flex-start;
    }

    .sidebar-nav {
        gap: 8px;
        justify-content: flex-start;
    }

    .nav-link {
        min-width: 100px;
        height: 32px;
        padding: 6px 12px;
        font-size: 11px;
        gap: 4px;
        border-radius: 50px;
        border-width: 1px;
    }

    .nav-text {
        font-size: 11px;
    }

    .nav-badge {
        min-width: 14px;
        width: 18px;
        height: 14px;
        font-size: 7px;
        padding: 0 3px;
    }
}

@media (max-width: 360px) {
    .sidebar {
        padding: 8px 10px;
        height: 44px;
        justify-content: flex-start;
    }

    .sidebar-nav {
        gap: 6px;
        justify-content: flex-start;
    }

    .nav-link {
        min-width: 80px;
        height: 28px;
        padding: 4px 10px;
        font-size: 9px;
        gap: 3px;
        border-radius: 40px;
    }

    .nav-text {
        font-size: 9px;
    }

    .nav-badge {
        min-width: 12px;
        width: 14px;
        height: 12px;
        font-size: 6px;
        padding: 0 2px;
    }
}

.front-content {
    padding: 30px 48px 24px 48px;
    flex-grow: 1;
}

.front-content-margin {
    padding: 30px 0 24px 0;
    margin: 0 100px;
    flex-grow: 1;
}

@media (max-width: 1400px) {
    .front-content-margin {
        margin: 0 80px;
    }
}

@media (max-width: 1200px) {
    .front-content-margin {
        margin: 0 60px;
    }
}

@media (max-width: 992px) {
    .front-content-margin {
        margin: 0 48px;
        padding: 24px 0 20px 0;
    }
}

@media (max-width: 768px) {
    .front-content-margin {
        margin: 0 20px;
        padding: 20px 0 16px 0;
    }
}

@media (max-width: 480px) {
    .front-content-margin {
        margin: 0 12px;
        padding: 16px 0 12px 0;
    }
}

@media (max-width: 360px) {
    .front-content-margin {
        margin: 0 8px;
        padding: 12px 0 8px 0;
    }
}

.icon-dashboard {
    width: 40px;
    height: 44px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-dashboard-total-contracts {
    background-image: url('/assets/images/icon/total_contracts.svg');
}

.icon-dashboard-signed-contracts {
    background-image: url('/assets/images/icon/signed_contracts.svg');
}

.icon-dashboard-awaiting-signature {
    background-image: url('/assets/images/icon/awaiting_signature.svg');
}

.icon-dashboard-running-soon {
    background-image: url('/assets/images/icon/running_soon.svg');
}

.icon-dashboard-rejected {
    background-image: url('/assets/images/icon/rejected.svg');
}

.dashboard-info-block {
    border: 1px solid #DEE7FF;
    border-radius: 10px;
    gap: 20px;
    height: 107px;
    border-width: 1px;
    padding-top: 10px;
    padding-right: 38px;
    padding-bottom: 10px;
    padding-left: 38px;
}

.dashboard-info-block .block-text {
    font-size: 12px;
    font-weight: 400;
    color: #404040;
}

.dashboard-info-block .block-total-count {
    font-size: 20px;
    font-weight: 700;
    color: #404040;
    white-space: nowrap;
}

.dashboard-info-block .block-total-text {
    background-color: #F3F3F3;
    font-size: 10px;
    font-weight: 400;
    color: #9DA3B0;
    height: 20px;
    border-radius: 20px;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    line-height: 12px;
    margin-left: 15px;
    white-space: nowrap;
}

.footer-support {
    text-align: center;
    border-top: 1px solid #E8E8E8;
    height: 40px;
    background-color: #FFFFFF;
    color: #ADADAD;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
}

.btn-submit-modal {
    height: 50px;
    border-radius: 10px;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
    color: #ffffff;
    background-color: #6A99DD;
}

.btn-close-modal {
    height: 50px;
    border-radius: 10px;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
    color: #6A99DD;
    background-color: #E9E9E9;
    border: 1px solid #E8E8ED;
}

.btn-donwload {
    width: 266px;
    height: 39px;
    border-radius: 10px;
    background-color: #E9E9E9;
    border: 1px solid #E8E8ED;
    font-weight: 500;
    font-size: 16px;
    color: #6A99DD;
    padding: 10px 25px;
    line-height: 100%;
}

.modal-max-width {
    max-width: 680px;
}

.icon-attach {
    background-image: url('/assets/images/icon/attach.svg');
    width: 66px;
    height: 66px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 1450px) {
    .front-topbar .search-wrapper {
        max-width: 420px;
    }
}

@media (max-width: 1300px) {
    .front-topbar .search-wrapper {
        max-width: 380px;
    }

    .front-topbar .logo-text {
        font-size: 11px;
        margin-left: 12px;
    }
}

@media (max-width: 992px) {
    .desktop-actions {
        display: none !important;
    }

    .mobile-actions {
        display: block !important;
        flex-shrink: 0;
    }

    .front-topbar {
        height: 80px !important;
        padding: 16px 20px !important;
        gap: 12px !important;
    }

    .front-topbar .flex.items-center.flex-shrink-0 {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .front-topbar .logo img {
        max-width: 100px;
        height: auto;
    }

    .front-topbar .logo-text {
        font-size: 10px;
        margin-left: 0;
        text-align: center;
        line-height: 2;
    }

    .front-topbar .search-wrapper {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 8px !important;
    }

    .front-topbar .search-wrapper .relative {
        width: 100% !important;
    }

    .front-topbar .search-input {
        width: 100% !important;
        min-width: 0 !important;
        height: 40px;
        padding-left: 36px !important;
        font-size: 14px !important;
    }

    #searchResults {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .front-topbar {
        height: 68px !important;
        padding: 10px 14px !important;
        gap: 8px !important;
    }

    .front-topbar .flex.items-center.flex-shrink-0 {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .front-topbar .logo img {
        max-width: 80px;
        height: auto;
    }

    .front-topbar .logo-text {
        font-size: 9px;
        margin-left: 0;
        text-align: center;
        line-height: 2;
    }

    .front-topbar .search-wrapper {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 4px !important;
    }

    .front-topbar .search-input {
        height: 40px !important;
        padding: 2px 10px 2px 36px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    #searchResults {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .front-topbar {
        height: 60px !important;
        padding: 6px 10px !important;
        gap: 4px !important;
    }

    .front-topbar .flex.items-center.flex-shrink-0 {
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }

    .front-topbar .logo-text {
        font-size: 10px;
        margin-left: 0;
        text-align: center;
        line-height: 2;
    }

    .front-topbar .search-wrapper {
        max-width: none !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        margin: 0 2px !important;
    }

    .front-topbar .search-input {
        height: 40px !important;
        padding: 2px 6px 2px 34px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    #searchResults {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 360px) {
    .front-topbar {
        height: 52px !important;
        padding: 4px 8px !important;
        gap: 4px !important;
    }

    .front-topbar .flex.items-center.flex-shrink-0 {
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }

    .front-topbar .search-wrapper {
        max-width: none !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        margin: 0 2px !important;
    }

    .front-topbar .search-input {
        height: 40px !important;
        padding: 2px 4px 2px 30px !important;
        font-size: 9px !important;
    }

    #searchResults {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 1400px) {
    .filter-select {
        font-size: 14px !important;
    }

    .filter-checkbox-label {
        font-size: 13px !important;
    }

    .filter-checkbox {
        width: 14px !important;
        height: 14px !important;
    }

    .filter-checkbox-group {
        gap: 12px !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 1200px) {
    .filter-select {
        font-size: 13px !important;
    }

    .filter-checkbox-label {
        font-size: 12px !important;
    }

    .filter-checkbox {
        width: 13px !important;
        height: 13px !important;
    }

    .filter-checkbox-group {
        gap: 10px !important;
        padding: 6px 10px !important;
    }
}

@media (max-width: 992px) {
    .filter-select {
        font-size: 12px !important;
    }

    .filter-checkbox-label {
        font-size: 11px !important;
    }

    .filter-checkbox {
        width: 12px !important;
        height: 12px !important;
    }

    .filter-checkbox-group {
        gap: 8px !important;
        padding: 5px 8px !important;
    }
}

@media (max-width: 768px) {
    .filter-select {
        font-size: 11px !important;
    }

    .filter-checkbox-label {
        font-size: 10px !important;
    }

    .filter-checkbox {
        width: 11px !important;
        height: 11px !important;
    }

    .filter-checkbox-group {
        gap: 6px !important;
        padding: 4px 6px !important;
    }
}

.icon-dashboard-block-ces {
    background-image: url('/assets/images/icon/outline_attention.svg');
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.country-item:hover {
    background-color: #f3f4f6;
}

.country-item .country-name {
    flex: 1;
    margin-left: 8px;
}

.country-item .country-dial {
    color: #6b7280;
    font-size: 13px;
}

.custom-dropdown {
    max-height: 250px;
    overflow-y: auto;
}

.country-search {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    outline: none;
    font-size: 14px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.country-search:focus {
    border-bottom-color: #6A99DD;
}

.iti {
    width: 100%;
}

.iti__flag-container {
    z-index: 10;
}

.iti--separate-dial-code .iti__flag-container {
    padding-right: 6px;
}

.iti__country-list {
    display: none !important;
}

.iti__arrow {
    display: none !important;
}

.iti--allow-dropdown .iti__flag-container:hover+.iti__country-list {
    display: none !important;
}

.iti__flag-container {
    cursor: default !important;
}

.icon_input_arrow {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
	background-position: right;
	background-repeat: no-repeat;
	background-size: .75em .75em;
	padding-right: 2.5rem;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}