/* =============================================
   NEW HEADER - AGGRESSIVE VERSION
   Перекрывает ВСЕ старые стили!
   ============================================= */

/* Скрываем старую навигацию */
.new-header-main ~ .container .navbar,
.new-header-main + .container .navbar {
    display: none !important;
}

/* ===== ОСНОВНАЯ СТРУКТУРА ===== */
.new-header-main {
    width: 100% !important;
    padding: 10px 16px !important;
    position: relative !important;
    z-index: 100 !important;
    background: transparent !important;
    display: block !important;
}

.new-header-container {
    max-width: 1500px !important;
    margin: 0 auto !important;
    height: 72px !important;
    background: rgba(255, 255, 255, 0.90) !important;
    border-radius: 59px !important;
    padding: 12px 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}

/* ===== ЛОГОТИП ===== */
.new-header-logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.new-logo-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}

.new-logo-link:hover {
    opacity: 0.85 !important;
    text-decoration: none !important;
}

.new-logo-img {
    width: 61px !important;
    height: 60px !important;
    object-fit: contain !important;
    display: block !important;
}

.new-logo-text {
    color: #3A1430 !important;
    font-family: 'Inknut Antiqua', serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    line-height: 21px !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

/* ===== НАВИГАЦИЯ ===== */
.new-header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-grow: 1 !important;
    justify-content: center !important;
}

.new-nav-item {
    padding: 10px 24px !important;
    background: #DCCDE1 !important;
    border-radius: 900px !important;
    color: #715573 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
}

.new-nav-item:hover {
    background: #c9b8d0 !important;
    color: #4a354c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 205, 225, 0.4) !important;
    text-decoration: none !important;
}

.new-nav-item.active,
.new-nav-item:focus {
    background: #3E1A3E !important;
    color: white !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* ===== ПРАВАЯ ЧАСТЬ ===== */
.new-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

/* Соцсети */
.new-social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.new-social-link {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #3E1A3E !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    text-decoration: none !important;
}

.new-social-link:hover {
    transform: scale(1.1) !important;
    color: #3E1A3E !important;
    text-decoration: none !important;
}

/* Кнопка входа */
.new-login-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 24px !important;
    background: #3E1A3E !important;
    border-radius: 900px !important;
    color: white !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: none !important;
}

.new-login-btn:hover {
   background: linear-gradient(63deg, #C200C2 0%, #3E1A3E 100%) !important;
    transform:scale(1.01) !important;
    box-shadow: 0 6px 16px rgba(62, 26, 62, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

.new-login-btn i {
    font-size: 16px !important;
    color: white !important;
}

/* ===== МОБИЛЬНОЕ МЕНЮ (бургер) ===== */
.new-mobile-toggle {
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    z-index: 10001 !important;
}

.new-mobile-toggle svg {
    display: block;
}

.new-mobile-menu-collapse {
    display: none !important;
}

.new-mobile-menu-collapse.show {
    display: block !important;
}

.new-mobile-menu-content {
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 0 0 30px 30px !important;
    padding: 20px 24px !important;
    margin-top: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

.new-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.new-mobile-nav-item {
    display: block !important;
    padding: 14px 20px !important;
    color: #715573 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(220, 205, 225, 0.3) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.new-mobile-nav-item:hover,
.new-mobile-nav-item.active {
    background: #DCCDE1 !important;
    color: #3E1A3E !important;
    padding-left: 28px !important;
    text-decoration: none !important;
}

.new-mobile-social {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid rgba(220, 205, 225, 0.3) !important;
}

.new-mobile-social a {
    color: #3E1A3E !important;
    font-size: 24px !important;
    transition: transform 0.3s ease !important;
    text-decoration: none !important;
}

.new-mobile-social a:hover {
    transform: scale(1.2) !important;
    color: #3E1A3E !important;
}

.new-login-btn.mobile-full-width {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 16px !important;
    padding: 14px !important;
    font-size: 16px !important;
}

/* ===== ГРАДИЕНТНЫЕ СТРАНИЦЫ ===== */
.new-gradient-wrapper { }

/* ===== ADAPTIVE (максимум 992px) ===== */
@media screen and (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }
    .new-login-btn:not(.mobile-full-width) {
        display: none !important;
    }

    body.home-page .new-header-main {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
        background: transparent !important;
    }
    body.home-page .new-header-container {
        background: rgba(255, 255, 255, 0.90) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    body.home-page #mform {
        padding-top: 80px;
    }

    .new-mobile-toggle {
        display: flex !important;
    }
    .new-header-nav {
        display: none !important;
    }

    .new-header-container {
        flex-wrap: wrap !important;
        height: auto !important;
        padding: 14px 18px !important;
        border-radius: 40px !important;
    }
    .new-logo-img {
        width: 50px !important;
        height: 49px !important;
    }
    .new-logo-text {
        font-size: 17px !important;
        line-height: 18px !important;
    }
}

@media screen and (max-width: 576px) {
    .new-header-main {
        padding: 6px 10px !important;
    }
    .new-header-container {
        padding: 12px 14px !important;
        border-radius: 35px !important;
    }
    .new-logo-img {
        width: 45px !important;
        height: 44px !important;
    }
    .new-logo-text {
        font-size: 15px !important;
        line-height: 16px !important;
    }
}

/* =============================================
   SOCIAL ICONS SVG WITH HOVER GRADIENT EFFECT
   ============================================= */
.new-social-icons {
    gap: 12px !important;
}

.new-social-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 4px;
    transition: transform 0.3s ease;
}

.new-social-link:hover {
    transform: scale(1.1);
}

.social-icon-default,
.social-icon-hover {
    display: block;
    transition: opacity 0.3s ease;
}

.social-icon-default {
    opacity: 1;
}

.social-icon-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.new-social-link:hover .social-icon-default {
    opacity: 0;
}

.new-social-link:hover .social-icon-hover {
    opacity: 1;
}

.social-link-tg svg {
    width: 24px;
    height: 19px;
}

.social-link-vk svg {
    width: 24px;
    height: 14px;
}

.social-link-maks svg {
    width: 19px;
    height: 19px;
}

/* =============================================
   HERO SECTION – FINAL (Мобильное фото + порядок)
   ============================================= */

/* ===== ОСНОВНАЯ СЕКЦИЯ ===== */
.new-hero-slide {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: -92px;
    padding-top: 92px;
}

/* ===== ФОНОВЫЙ КОНТЕЙНЕР ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00021A;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    z-index: 2;
    object-fit: cover;
}

.hero-bg-main {
    width: 120%;
    height: 115%;
    left: -10%;
    top: -15%;
    opacity: 0.8;
}

.hero-bg-secondary {
    width: 100%;
    height: 130%;
    left: 0;
    top: -18%;
    opacity: 0.6;
    z-index: 3;
}

.hero-bg-mobile {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 4;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(35.77, 15, 35.77, 0.75) 0%, rgba(62, 26, 62, 0) 53%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 5;
}

/* ===== КОНТЕНТ ===== */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 92px);
    padding-bottom: 40px;
}

/* ===== ЗАГОЛОВОК И КНОПКИ (сверху) ===== */
.hero-top-section {
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 80px;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 92.8px;
    margin-bottom: 20px;
    color: white;
    display: block;
}

.hero-title-solid {
    color: white;
    display: inline;
}

.hero-title-transparent {
    color: rgba(255, 255, 255, 0.50);
    display: inline;
}

.hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: white;
    margin-bottom: 32px;
    max-width: 503px;
    line-height: 1.4;
}

/* КНОПКИ */
.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 10px 32px;
    border-radius: 900px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    color: white;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(194, 0, 194, 0.4);
    color: white;
    text-decoration: none;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* ===== КАРТОЧКИ (снизу) ===== */
.hero-bottom-section {
    /* Идёт после заголовка */
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1240px;
}

.hero-card {
    min-height: 115px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.hero-card-text {
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.3;
    word-wrap: break-word;
}

/* ===== АДАПТИВ ===== */
@media screen and (max-width: 1200px) {
    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hero-title {
        font-size: 64px;
        line-height: 74px;
    }
}

@media screen and (max-width: 992px) {
    .new-hero-slide {
        min-height: auto;
        margin-top: 0;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-content {
        min-height: auto;
padding-bottom: 14px;
    }

    .hero-bg-mobile {
        display: block;
    }
    .hero-bg-main,
    .hero-bg-secondary {
        display: none;
    }

    .hero-title {
        font-size: 48px;
        line-height: 56px;
    }
    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap:12px;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-top-section {
        margin-bottom: 20px;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        min-height: 60px;
        padding: 14px 18px;
    }
    .hero-card-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .new-hero-slide {
        padding: 100px 0 0 0;
    }
    .hero-title {
        font-size: 36px;
        line-height: 42px;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        height: 44px;
        font-size: 14px;
        padding: 10px 24px;
    }
}










/* ========== ЛЕВОЕ МЕНЮ ЛИЧНОГО КАБИНЕТА ========== */
.lk-sidebar-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.lk-sidebar {
    width: 295px;
    flex-shrink: 0;
    background: #FDFDFD;
    border-radius: 12px;
    padding: 32px;
}

.lk-sidebar-title {
    text-align: center;
    color: #715573;
    font-size: 18px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin-bottom: 24px;
    word-wrap: break-word;
}

.lk-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lk-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 10px 24px;
    background: #E8E3E9;
    border-radius: 900px;
    text-align: center;
    color: #715573;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lk-menu-item:hover {
    background: #d9d3db;
    text-decoration: none;
    color: #715573;
}

.lk-menu-item.selected {
    background: rgba(239, 239, 238, 0);
    outline: 1px solid rgba(113, 85, 115, 0.5);
    outline-offset: -1px;
}

.lk-menu-item.logout {
    margin-top: 8px;
	background:linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
	 color: #fff;
}

.lk-menu-item.admin {
    margin-top: 16px;
    background: linear-gradient(63deg, #C200C2 0%, #3E1A3E 100%) !important;
    color: #fff;
}

.lk-menu-item.admin:hover {
    background: #2d5aad;
    color: #fff;
}

.lk-content {
    flex: 1;
    background: #FDFDFD;
    border-radius: 12px;
    padding: 40px 56px;
}

/* ========== СТИЛИ ПРОФИЛЯ ========== */
.profile-container {
    width: 100%;
}

.profile-header {
    margin-bottom: 32px;
}

.profile-title {
    color: #313131;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin: 0;
}

.profile-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: 'Manrope', sans-serif;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-label {
    padding-left: 16px;
    color: #313131;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
}

.profile-label .required {
    color: #ff0000;
}

.profile-input {
     width: 100%;
    height: 56px;
    padding: 10px 16px;
    background: #EFEFEE;
    border: none;
    border-radius: 900px;
    color: #313131;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.profile-input:focus {
    background: #e5e5e4;
    outline: none;
}

.profile-input::placeholder {
    color: rgba(48.79, 48.79, 48.79, 0.5);
}

.profile-submit {
    margin-top: 32px;
}

.profile-btn {
     width: 404px;
    max-width: 100%;
    height: 56px;
    padding: 10px 32px;
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    border: none;
    border-radius: 900px;
    color: white;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.profile-btn:hover {
    opacity: 0.9;
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ========== */
@media (max-width: 992px) {
    .lk-sidebar-wrapper {
            flex-direction: column;
        margin: 20px auto;
        padding: 0 16px;

    }

    .lk-sidebar {
        width: 100%;
        padding: 24px;
    }

    .lk-sidebar-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .lk-menu-item {
        height: 44px;
        font-size: 14px;
        white-space: normal;
    }

    .lk-content {
          padding: 24px;
    }

    /* Мобильные стили профиля */
    .profile-title {
        font-size: 22px;
        text-align: center;
    }

    .profile-header {
        margin-bottom: 24px;
    }

    .profile-row {
        gap: 12px;
    }

    .profile-field {
        min-width: 100%;
    }

    .profile-label {
        padding-left: 16px;
        font-size: 14px;
    }

    .profile-input {
        height: 48px;
        font-size: 13px;
    }

    .profile-btn {
        height: 48px;
        font-size: 14px;
        width: 100%;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .lk-sidebar {
        padding: 20px;
    }

    .lk-content {
        padding: 20px;
    }

    .profile-title {
        font-size: 20px;
    }
}












/* ========== ОБУЧЕНИЕ (КУРСЫ) ========== */
.course-empty-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 524px;
    background: #FDFDFD;
    border-radius: 12px;
}

.course-empty-content {
    text-align: center;
    padding: 20px;
    max-width: 594px;
}

.course-empty-title {
    color: #313131;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin-bottom: 32px;
    line-height: 1.3;
}

.course-empty-btn {
    display: inline-block;
    height: 56px;
    padding: 10px 32px;
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    border-radius: 900px;
    color: white;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 36px;
}

.course-empty-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: white;
}

/* Мобильная адаптация для страницы обучения */
@media (max-width: 992px) {
    .course-empty-container {
        min-height: 404px;
        padding: 20px;
    }
    
    .course-empty-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .course-empty-btn {
        height: 48px;
        font-size: 13px;
        line-height: 28px;
        padding: 10px 32px;
        width: 100%;
        max-width: 305px;
    }
    
    .course-empty-content {
        width: 100%;
        padding: 0 20px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .course-empty-title {
        font-size: 24px;
    }
}

/* ========== ЗАГОЛОВКИ СТРАНИЦ ЛИЧНОГО КАБИНЕТА ========== */
.page-header {
    margin-bottom: 32px;
}

.page-title {
    color: #313131;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin: 0;
}




/* Мобильная адаптация */
@media (max-width: 992px) {
    .page-header {
        margin-bottom: 24px;
    }
    
    .page-title {
        font-size: 22px;
        text-align: center;
    }
}




/* ========== ОТМЕНА ЖЕЛТОГО ФОНА ДЛЯ AUTOFILL ========== */
/* Для Chrome, Safari, Edge, Opera */
.profile-input:-webkit-autofill,
.profile-input:-webkit-autofill:hover,
.profile-input:-webkit-autofill:focus,
.profile-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #EFEFEE inset !important;
    -webkit-text-fill-color: #313131 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Для Firefox */
.profile-input:autofill,
.profile-input:autofill:hover,
.profile-input:autofill:focus {
    background-color: #EFEFEE !important;
    color: #313131 !important;
}

/* Дополнительно для полей ввода пароля */
.profile-input:-webkit-autofill:focus {
    outline: none !important;
}

/* Если хотите убрать желтый фон глобально для всех полей на сайте */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #EFEFEE inset !important;
    -webkit-text-fill-color: #313131 !important;
}

input:autofill,
textarea:autofill,
select:autofill {
    background-color: #EFEFEE !important;
    color: #313131 !important;
}