@font-face {
	font-family: 'Inter';
	src:         url('/fonts/Inter_18pt-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style:  normal;
}

@font-face {
	font-family: 'Inter';
	src:         url('/fonts/Inter_18pt-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style:  normal;
}

@font-face {
	font-family: 'Inter';
	src:         url('/fonts/Inter_18pt-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style:  normal;
}

@font-face {
	font-family: 'Inter';
	src:         url('/fonts/Inter_18pt-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style:  normal;
}

body.custom-bg {
    background-color: #E8F3FF;
    background-image: none;
}

.logo-image {
	width:         50px;
	height:        50px;
	margin-bottom: 10px;
}

.esim-features path {
	fill: var(--url-color);
}
#auth-tabs .nav-link.active {
	color: var(--url-color) !important;
}
#recovery-password-wrapper .reset-password:hover, #recovery-password-wrapper .recovery-password-button:hover, #sign-up .register-button:hover, #sign-in .login-button:hover {
	background-color: var(--primary-hover);
}

#content-wrapper input[type=checkbox]:checked + label:before {
    background-color: var(--dodger-blue) !important;
    border-color: var(--dodger-blue) !important;
}

.mini .language-dropdown-menu.dropdown-menu .currencies-list li.active > label {
    color: var(--candlelight)!important;
}

.mini .language-dropdown-menu.dropdown-menu .language-list li.active > label {
    color: var(--candlelight)!important;
}

.jsgrid-header-cell:hover {
    color: var(--dodger-blue)!important;
}

.jsgrid-header-cell:hover svg,
.jsgrid-header-cell:hover svg path {
    fill: var(--dodger-blue) !important;
}

#header .logo .logo-img {
    width: auto;
    height: 56px;
    margin-top: 3px;
}

/* === HEADER LOGO BACKGROUND FIX === */
#header {
    background-color: #fcfdfd;
}

#header .logo {
    background-color: transparent;
}

#header .logo .logo-img {
    background-color: transparent;
}

body.custom-bg .container .uri-logo .logo-image {
	display: none;
}

body.custom-bg .container .uri-logo::before {
	content: '';
	display: inline-block;
	width: 100px;
	height: 100px;
	background-image: url('../../img/auth_page/decesims_bg_logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
	margin-bottom: 30px;
}

/* === PAGE BACKGROUND OVERRIDE === */
#content-wrapper {
    background-color: #f9f9f9;
}

/* =========================================
   YELLOW BUTTONS ONLY — DARK TEXT (#1F2937)
   ========================================= */

/* жёлтые кнопки */
#content-wrapper .btn-primary,
#content-wrapper .btn-primary:hover,
#content-wrapper .btn-primary:focus,
#content-wrapper .btn-primary:active {
    color: #1F2937 !important;
}

/* === AUTH (LOGIN/SIGNUP): YELLOW BUTTONS TEXT COLOR === */
body.custom-bg #sign-in .login-button,
body.custom-bg #sign-up .register-button,
body.custom-bg #recovery-password-wrapper .reset-password,
body.custom-bg #recovery-password-wrapper .recovery-password-button {
    color: #1F2937 !important;
}

/* === AUTH: REMOVE SIGN UP BUTTON BORDER/OUTLINE === */
body.custom-bg #sign-up .register-button,
body.custom-bg #sign-up .register-button:hover,
body.custom-bg #sign-up .register-button:focus,
body.custom-bg #sign-up .register-button:focus-visible,
body.custom-bg #sign-up .register-button:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* === POPUPS: all action-section primary buttons — dark text === */
.action-section .btn.btn-primary,
.action-section .btn.btn-primary:hover,
.action-section .btn.btn-primary:focus,
.action-section .btn.btn-primary:active,
.action-section .btn.btn-primary:focus-visible,
.action-section .btn.btn-sm.btn-primary,
.action-section .btn.btn-sm.btn-primary:hover,
.action-section .btn.btn-sm.btn-primary:focus,
.action-section .btn.btn-sm.btn-primary:active,
.action-section .btn.btn-sm.btn-primary:focus-visible {
    color: #1F2937 !important;
}

.action-section .btn.btn-primary svg,
.action-section .btn.btn-primary svg path {
    fill: #1F2937 !important;
}

/* === POPUP: Apply discount code button — dark text === */
#approve-popup .btn.btn-primary,
#approve-popup .btn.btn-primary:hover,
#approve-popup .btn.btn-primary:focus,
#approve-popup .btn.btn-primary:active,
#approve-popup .btn.btn-primary:focus-visible {
    color: #1F2937 !important;
}

/* иконка галочки внутри кнопки */
#approve-popup button.js-apply-discount-code i.fa-check,
#approve-popup button.js-apply-discount-code i.fa-check::before,
#approve-popup button.js-apply-discount-code i.fas.fa-check,
#approve-popup button.js-apply-discount-code i.fas.fa-check::before {
    color: #1F2937 !important;
}

/* === MOBILE SIDE MENU FINAL FIX === */
@media (max-width: 993px) {

    /* фон мобильного сайд-меню */
    #user-details-mobile-menu,
    #mobile-menu {
        background-color: #1F2937 !important;
        color: #ffffff !important;
    }

    /* основной текст пунктов меню */
    #user-details-mobile-menu a,
    #mobile-menu a {
        color: #ffffff !important;
    }

    /* подписи / подразделы / вторичный текст */
    #user-details-mobile-menu small,
    #user-details-mobile-menu .text-muted,
    #user-details-mobile-menu .sub-title,
    #user-details-mobile-menu .secondary-text,
    #mobile-menu small,
    #mobile-menu .text-muted,
    #mobile-menu .sub-title,
    #mobile-menu .secondary-text {
        color: rgba(255, 255, 255, 0.75) !important;
    }

    /* hover / active */
    #user-details-mobile-menu a:hover,
    #mobile-menu a:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
    }
}

/* === MOBILE LANGUAGE & CURRENCY DROPDOWN BACKGROUND FIX === */
@media (max-width: 993px) {

    #user-details-mobile-menu .language-dropdown-menu,
    #user-details-mobile-menu .currency-dropdown-menu,
    #user-details-mobile-menu .dropdown-menu {
        background-color: #1F2937 !important;
    }

    /* текст внутри dropdown */
    #user-details-mobile-menu .language-dropdown-menu a,
    #user-details-mobile-menu .currency-dropdown-menu a,
    #user-details-mobile-menu .dropdown-menu a {
        color: #ffffff !important;
    }

}

