@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;
}

.front-topbar .logo {
    flex-shrink: 0;
}

.front-topbar .logo-text {
    font-size: 13px;
    color: #404040;
    font-weight: 400;
    margin-left: 20px;
}

.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 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 483px;
    max-width: 100%;
    margin: 0;
}

.front-topbar .initials-block {
    margin-right: 62px;
}

#searchResults {
    position: absolute;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    z-index: 50;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.front-topbar .search-input {
    width: 483px;
    height: 40px;
    opacity: 1;
    border-radius: 10px;
    padding-top: 3px;
    padding-right: 17px;
    padding-bottom: 3px;
    padding-left: 40px;
    background-color: #FBFBFB;
    color: #303030;
    border: none;
    outline: none;
}

.front-topbar .search-input::placeholder {
    color: #B1B1B1;
    font-size: 14px;
    font-weight: 400;
}

.front-topbar .search-input:focus {
    outline: none;
}

.front-topbar .flex {
    flex-shrink: 0;
    margin-left: auto;
}

.topbar-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 8px;
    transition: background-color 0.2s;
}

.topbar-icon:hover {
    background-color: #e5e7eb;
}

.sidebar {
    background: #F8F8F8;
    padding: 20px 48px;
    height: 92px;
    border-bottom: 1px solid #E8E8E8
}

.sidebar-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    margin: 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;
}

.nav-link.active {
    background: #6A99DD;
    color: #FFFFFF;
}

.nav-badge {
    min-width: 24px;
    width: 34px;
    height: 24px;
    display: flex;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.nav-link.active .nav-badge {
    background: #FFFFFF;
    color: #6A99DD;
}

.nav-link:not(.active) .nav-badge {
    background: #F6F8FA;
    color: #6A99DD;
}

.front-content {
    padding: 30px 48px 24px 48px;
    flex-grow: 1;
}

.front-content-margin {
    padding: 30px 0 24px 0;
    margin: 0 356px;
    flex-grow: 1;
}

.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-logout {
    background-image: url('/assets/images/icon/topbar-logout.svg');
}

.tooltip {
    pointer-events: none;
    z-index: 100;
}

.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;
    height: 40px;
    background-color: #162C3E;
    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;
}
