.ps_rel {
    position: relative;
}

.custom-container {
    width: calc(100% - 200px);
    margin: 0 auto;
}

.fs_56 {
    line-height: 1.1;
    font-size: clamp(
        20px,
        calc(28px + (80 - 28) * ((100vw - 350px) / (1800 - 350))),
        56px
    );
}

.fs_50 {
    line-height: 1.1;
    font-size: clamp(
        18px,
        calc(28px + (80 - 28) * ((100vw - 350px) / (1800 - 350))),
        50px
    );
}

.fs_12 {
    font-size: 12px;
}

.fs_14 {
    font-size: 14px;
}

.fs_16 {
    font-size: 16px;
}

.fs_20 {
    font-size: 20px;
}

.fs_24 {
    font-size: 24px;
}

.fw_400 {
    font-weight: 400;
}

.fw_500 {
    font-weight: 500;
}

.fw_600 {
    font-weight: 600;
}

.fw_700 {
    font-weight: 700;
}

.c_pointer {
    cursor: pointer;
}

.subscribe_btn {
    border: none;
    background: linear-gradient(to bottom, #247cf8, #0463fb);
    border-radius: 2rem;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.1s ease;
    z-index: 2;
}

.fixed-header.hide {
    transform: translateY(-100%);
}

.overflow-hide {
    overflow: hidden;
}

.header-height {
    height: 94px;
}

.header-bg {
    background: url("../public/img/main_bg-min.png");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
}

.mdc-text-field--filled {
    background-color: transparent !important;
}

.mdc-text-field--filled:hover {
    background-color: transparent !important;
}

.mat-mdc-form-field-subscript-wrapper,
.mat-mdc-form-field-bottom-align::before {
    display: none;
}

.mat-mdc-form-field-focus-overlay {
    border-bottom: none !important;
}

.mat-mdc-raised-button:not(:disabled) {
    background-color: #247cf8 !important;
    color: white !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

.mat-mdc-select {
    font-weight: 500 !important;
    font-size: 1rem !important;
}

div.mat-mdc-select-panel {
    max-width: 300px !important;
    padding: 0 !important;
}

.mdc-text-field {
    padding-inline: 8px !important;
}

.notify {
    border-radius: 20px;
    padding: 36px;
    background-color: white;
}

.email {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 36px;
    width: 100%;
}

.btn-wrapper {
    margin-top: 36px;
}

.btn-send {
    background: linear-gradient(to right, #0463fb, #247cf8);
    border: none;
    padding: 1rem;
    border-radius: 2rem;
    color: white;
    font-weight: 700;
    width: 100%;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background-color: white;
}

.copy_link_block {
    border-radius: 1rem;
    /* background-color: white; */
    position: fixed;
    top: 50%;
    left: 50%;
    width: fit-content;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.btn_border {
    background-color: transparent;
    border-radius: 0.7rem;
    padding-inline: 16px;
    padding-block: 8px;
    font-size: 24px;
    font-weight: 600;
}

.whatsapp {
    border: none;
    background-color: #0ea20e;
    color: white;
}

.instagram {
    border: none;
    color: white;
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    font-weight: 600;
}

.gmail {
    background: linear-gradient(45deg, #ea4335, #c5221f);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.telegram_btn {
    background: rgb(49, 132, 241);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.link {
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.product_card_modal_bg {
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.6;
    z-index: 3 !important;
}

@media (max-width: 1080px) {
    .custom-container {
        width: calc(100% - 100px);
        margin: 0 auto;
    }

    .mat-mdc-raised-button > .mat-icon {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 500px) {
    .custom-container {
        width: calc(100% - 40px);
    }
}

.mat-mdc-option.mdc-list-item {
    background-color: #fff !important;
}

.mat-mdc-option.mdc-list-item:hover {
    background-color: #b7d5ff !important;
}

.mat-mdc-option .mdc-list-item .mdc-list-item--selected .mat-mdc-option-active {
    background-color: #217af9 !important;
}

.mat-pseudo-checkbox {
    border-radius: 4px !important;
}

.mat-pseudo-checkbox-full {
    border-color: #217af9 !important;
    border-width: 2px;
    border-style: solid;
}

.mat-pseudo-checkbox.mat-mdc-option-pseudo-checkbox.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked {
    background-color: #217af9 !important;
}

/* mat-table */
.mat-mdc-header-cell {
    padding-inline: 12px !important;
    background: #eaeaea !important;
    border-right: 1px solid #dcdcdc !important;
    color: #7c7c7c !important;
}

.mat-mdc-header-row .mat-mdc-header-cell:first-child {
    border-left: 1px solid #dcdcdc !important;
}

.mat-mdc-cell {
    border-right: 1px solid #eaeaea !important;
    border-bottom: 1px solid #eaeaea !important;
    padding-inline: 12px !important;
    color: #252525 !important;
}

.mat-mdc-row .mat-mdc-cell:first-child {
    border-left: 1px solid #eaeaea !important;
}

.mat-mdc-header-row {
    position: sticky !important;
    top: 0;
    background: #eaeaea !important;
    z-index: 10 !important;
}

.mat-mdc-table {
    overflow: visible !important;
}

.mat-mdc-row:hover {
    background-color: #e9e6ec !important;
}

.row-selected {
    background-color: #e9e6ec;
}

.mat-mdc-header-cell {
    border-bottom-width: 0px !important;
}

.overflow_x_auto_hidden {
    overflow-x: auto;
    max-width: 100%;
    max-height: 600px;
    background-color: white;
}

.overflow_x_auto_hidden::-webkit-scrollbar {
    width: 5px;
}

.overflow_x_auto_hidden::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
    height: 10px;
    cursor: pointer;
}

.overflow_x_auto_hidden::-webkit-scrollbar-track {
    background: #f5f6f8;
}

.border-top-left-radius .mat-mdc-form-field-focus-overlay {
    border-top-left-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

button:hover {
    opacity: 0.8;
}

.mat-mdc-form-field:not(.mat-form-field-disabled)
    .mat-mdc-floating-label.mdc-floating-label {
    font-family: sans-serif !important;
}

.mat-mdc-option .mdc-list-item__primary-text {
    font-family: sans-serif !important;
}

.mat-mdc-select-value-text {
    font-family: sans-serif !important;
}

.mat-form-field-hide-placeholder .mat-mdc-select-placeholder {
    font-family:
        system-ui, "-apple-system", "Segoe UI", "Roboto", "Helvetica Neue",
        "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
