/* webapp/css/themes/modern-dark-forms-integration.css */
/* Интеграция современных форм с существующими компонентами 2EnBota */

/* === ИНТЕГРАЦИЯ С РЕЖИМАМИ ИЗУЧЕНИЯ === */

/* Инпуты в режимах изучения */
body.theme-modern-dark #answer-input-element,
body.theme-modern-dark #audition-answer-input,
body.theme-modern-dark #dictation-answer-input,
body.theme-modern-dark #phrase-audition-answer-input,
body.theme-modern-dark #phrase-translation-answer-input {
    background: var(--theme-bg-content);
    border: none;
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--theme-text-primary);
    
    /* Неоморфный вдавленный эффект */
    box-shadow: 
        inset 6px 6px 12px var(--neo-shadow-dark),
        inset -6px -6px 12px var(--neo-shadow-light),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-align: center;
}

/* Фокус для инпутов изучения */
body.theme-modern-dark #answer-input-element:focus,
body.theme-modern-dark #audition-answer-input:focus,
body.theme-modern-dark #dictation-answer-input:focus,
body.theme-modern-dark #phrase-audition-answer-input:focus,
body.theme-modern-dark #phrase-translation-answer-input:focus {
    box-shadow: 
        inset 8px 8px 16px var(--neo-shadow-dark),
        inset -8px -8px 16px var(--neo-shadow-light),
        0 0 0 2px var(--theme-accent-primary),
        0 0 20px rgba(0, 212, 255, 0.4),
        0 0 40px rgba(0, 212, 255, 0.2);
    
    transform: scale(1.02);
    background: color-mix(in srgb, var(--theme-bg-content) 95%, var(--theme-accent-primary) 5%);
}

/* Плейсхолдеры для режимов изучения */
body.theme-modern-dark #answer-input-element::placeholder,
body.theme-modern-dark #audition-answer-input::placeholder,
body.theme-modern-dark #dictation-answer-input::placeholder,
body.theme-modern-dark #phrase-audition-answer-input::placeholder,
body.theme-modern-dark #phrase-translation-answer-input::placeholder {
    color: var(--theme-text-placeholder);
    opacity: 0.7;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Чат инпуты */
body.theme-modern-dark #dictation-chat-input,
body.theme-modern-dark #phrase-audition-chat-input,
body.theme-modern-dark #phrase-translation-chat-input {
    background: var(--neo-glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--neo-glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.2),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05),
        0 4px 16px var(--neo-glass-shadow);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-modern-dark #dictation-chat-input:focus,
body.theme-modern-dark #phrase-audition-chat-input:focus,
body.theme-modern-dark #phrase-translation-chat-input:focus {
    border-color: var(--theme-accent-primary);
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(255, 255, 255, 0.08),
        0 8px 24px var(--neo-glass-shadow),
        0 0 0 2px var(--theme-accent-primary),
        0 0 15px rgba(0, 212, 255, 0.3);
}

/* === ИНТЕГРАЦИЯ С ДОБАВЛЕНИЕМ СЛОВ === */

/* Инпуты добавления слов */
body.theme-modern-dark #new-word-original-input,
body.theme-modern-dark #new-word-translations-textarea,
body.theme-modern-dark #new-word-example-sentence-textarea {
    background: var(--theme-bg-content);
    border: none;
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--theme-text-primary);
    
    /* Неоморфный вдавленный эффект */
    box-shadow: 
        inset 6px 6px 12px var(--neo-shadow-dark),
        inset -6px -6px 12px var(--neo-shadow-light),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    letter-spacing: 0.01em;
    line-height: 1.5;
    resize: vertical;
}

/* Фокус для инпутов добавления слов */
body.theme-modern-dark #new-word-original-input:focus,
body.theme-modern-dark #new-word-translations-textarea:focus,
body.theme-modern-dark #new-word-example-sentence-textarea:focus {
    box-shadow: 
        inset 8px 8px 16px var(--neo-shadow-dark),
        inset -8px -8px 16px var(--neo-shadow-light),
        0 0 0 2px var(--theme-accent-primary),
        0 0 20px rgba(0, 212, 255, 0.4),
        0 0 40px rgba(0, 212, 255, 0.2);
    
    transform: scale(1.01);
    background: color-mix(in srgb, var(--theme-bg-content) 95%, var(--theme-accent-primary) 5%);
}

/* === ИНТЕГРАЦИЯ С ПОИСКОМ И ФИЛЬТРАМИ === */

/* Поиск слов */
body.theme-modern-dark #course-words-search-input {
    background: var(--neo-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--neo-glass-border);
    border-radius: 12px;
    padding: 10px 16px 10px 40px;
    
    /* Иконка поиска */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300d4ff'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3e%3c/svg%3e");
    background-position: left 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.2),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05),
        0 4px 16px var(--neo-glass-shadow);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-modern-dark #course-words-search-input:focus {
    border-color: var(--theme-accent-primary);
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(255, 255, 255, 0.08),
        0 8px 24px var(--neo-glass-shadow),
        0 0 0 2px var(--theme-accent-primary),
        0 0 15px rgba(0, 212, 255, 0.3);
    
    /* Анимированная иконка при фокусе */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff6ec7'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3e%3c/svg%3e");
}

/* === ИНТЕГРАЦИЯ С СЕЛЕКТАМИ НАСТРОЕК === */

/* Селекты в настройках */
body.theme-modern-dark #setting-theme-select,
body.theme-modern-dark #setting-input-lives,
body.theme-modern-dark #setting-mc-repetitions,
body.theme-modern-dark #course-words-srs-level-filter,
body.theme-modern-dark #course-words-visibility-filter,
body.theme-modern-dark #course-words-sort-criteria,
body.theme-modern-dark #stats-scope-filter {
    background: var(--neo-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--neo-glass-border);
    border-radius: 12px;
    padding: 8px 32px 8px 12px;
    font-size: 0.9rem;
    color: var(--theme-text-primary);
    
    /* Стеклянный эффект с неоморфными тенями */
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.2),
        inset -3px -3px 6px rgba(255, 255, 255, 0.05),
        0 4px 16px var(--neo-glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    
    /* Кастомная стрелка */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 12px;
    
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Фокус для селектов */
body.theme-modern-dark #setting-theme-select:focus,
body.theme-modern-dark #setting-input-lives:focus,
body.theme-modern-dark #setting-mc-repetitions:focus,
body.theme-modern-dark #course-words-srs-level-filter:focus,
body.theme-modern-dark #course-words-visibility-filter:focus,
body.theme-modern-dark #course-words-sort-criteria:focus,
body.theme-modern-dark #stats-scope-filter:focus {
    border-color: var(--theme-accent-primary);
    
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(255, 255, 255, 0.08),
        0 8px 24px var(--neo-glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 2px var(--theme-accent-primary),
        0 0 15px rgba(0, 212, 255, 0.3);
    
    transform: scale(1.02);
    
    /* Анимированная стрелка при фокусе */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ff6ec7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* === КНОПКА СОХРАНЕНИЯ СЛОВА === */

body.theme-modern-dark .button-primary.button-save-word,
body.theme-modern-dark .button.button-save-word,
body.theme-modern-dark #save-word-button.button-primary,
body.theme-modern-dark #save-word-button.button,
body.theme-modern-dark .button-save-word,
body.theme-modern-dark #save-word-button {
    background: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary)) !important;
    background-image: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary)) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: white !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    
    /* Неоморфный выпуклый эффект */
    box-shadow: 
        8px 8px 16px var(--neo-shadow-dark),
        -8px -8px 16px var(--neo-shadow-light),
        0 0 20px rgba(0, 212, 255, 0.3) !important;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.02em !important;
}

body.theme-modern-dark .button.button-save-word::before,
body.theme-modern-dark #save-word-button.button::before,
body.theme-modern-dark .button-save-word::before,
body.theme-modern-dark #save-word-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

body.theme-modern-dark .button.button-save-word:hover:not(:disabled),
body.theme-modern-dark #save-word-button.button:hover:not(:disabled),
body.theme-modern-dark .button-save-word:hover:not(:disabled),
body.theme-modern-dark #save-word-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05) !important;
    background: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary)) !important;
    background-image: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary)) !important;
    box-shadow: 
        12px 12px 24px var(--neo-shadow-dark),
        -12px -12px 24px var(--neo-shadow-light),
        0 0 30px rgba(0, 212, 255, 0.5),
        0 0 60px rgba(255, 110, 199, 0.3) !important;
}

body.theme-modern-dark .button.button-save-word:hover:not(:disabled)::before,
body.theme-modern-dark #save-word-button.button:hover:not(:disabled)::before,
body.theme-modern-dark .button-save-word:hover:not(:disabled)::before,
body.theme-modern-dark #save-word-button:hover:not(:disabled)::before {
    opacity: 1;
}

body.theme-modern-dark .button.button-save-word:active:not(:disabled),
body.theme-modern-dark #save-word-button.button:active:not(:disabled),
body.theme-modern-dark .button-save-word:active:not(:disabled),
body.theme-modern-dark #save-word-button:active:not(:disabled) {
    transform: translateY(-1px) scale(1.02) !important;
    background: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary)) !important;
    background-image: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary)) !important;
    box-shadow: 
        inset 4px 4px 8px var(--neo-shadow-dark),
        inset -4px -4px 8px var(--neo-shadow-light),
        0 0 15px rgba(0, 212, 255, 0.4) !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.theme-modern-dark .button.button-save-word:active:not(:disabled)::before,
body.theme-modern-dark #save-word-button.button:active:not(:disabled)::before,
body.theme-modern-dark .button-save-word:active:not(:disabled)::before,
body.theme-modern-dark #save-word-button:active:not(:disabled)::before {
    opacity: 0.3;
}

/* === ПОИСК С ИКОНКОЙ === */

body.theme-modern-dark .modern-search-input,
body.theme-modern-dark #course-words-search-input {
    background: var(--neo-glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Иконка поиска */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300d4ff'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3e%3c/svg%3e");
    background-position: left 16px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-left: 48px !important;
}

/* === КНОПКИ ОЧИСТКИ ПОЛЕЙ === */

body.theme-modern-dark .clear-input-btn {
    background: var(--neo-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--neo-glass-border);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-secondary);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

body.theme-modern-dark .clear-input-btn:hover {
    background: var(--theme-error-color);
    color: white;
    border-color: var(--theme-error-color);
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* === СООБЩЕНИЯ ОБ ОШИБКАХ === */

body.theme-modern-dark .input-hint.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 8px;
    color: var(--theme-error-color);
    font-size: 0.85rem;
    font-weight: 500;
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    animation: modernErrorSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modernErrorSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === ПАНЕЛИ УПРАВЛЕНИЯ === */

body.theme-modern-dark #words-list-controls-panel,
body.theme-modern-dark #course-words-list-controls-panel {
    background: var(--neo-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--neo-glass-border);
    border-radius: 16px;
    padding: 16px;
    
    box-shadow: 
        0 8px 32px var(--neo-glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-modern-dark #words-list-controls-panel:hover,
body.theme-modern-dark #course-words-list-controls-panel:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px var(--neo-glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(0, 212, 255, 0.1);
}

/* === ЧЕКБОКСЫ В ПАНЕЛЯХ УПРАВЛЕНИЯ === */

body.theme-modern-dark #filter-no-examples,
body.theme-modern-dark #course-words-filter-no-examples {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--theme-bg-content);
    border: none;
    position: relative;
    cursor: pointer;
    
    /* Неоморфный вдавленный эффект */
    box-shadow: 
        inset 2px 2px 4px var(--neo-shadow-dark),
        inset -2px -2px 4px var(--neo-shadow-light);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
}

body.theme-modern-dark #filter-no-examples:checked,
body.theme-modern-dark #course-words-filter-no-examples:checked {
    background: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-accent-secondary));
    
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.3),
        inset -1px -1px 2px rgba(255, 255, 255, 0.1),
        0 0 8px rgba(0, 212, 255, 0.4);
}

body.theme-modern-dark #filter-no-examples:checked::after,
body.theme-modern-dark #course-words-filter-no-examples:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* === ЛЕЙБЛЫ ДЛЯ ЧЕКБОКСОВ === */

body.theme-modern-dark label[for="filter-no-examples"],
body.theme-modern-dark label[for="course-words-filter-no-examples"] {
    color: var(--theme-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 8px;
}

body.theme-modern-dark label[for="filter-no-examples"]:hover,
body.theme-modern-dark label[for="course-words-filter-no-examples"]:hover {
    color: var(--theme-accent-primary);
}

/* === СПЕЦИАЛЬНЫЕ ЭФФЕКТЫ ДЛЯ АВТОЗАПОЛНЕНИЯ === */

body.theme-modern-dark input:-webkit-autofill,
body.theme-modern-dark input:-webkit-autofill:hover,
body.theme-modern-dark input:-webkit-autofill:focus,
body.theme-modern-dark textarea:-webkit-autofill,
body.theme-modern-dark textarea:-webkit-autofill:hover,
body.theme-modern-dark textarea:-webkit-autofill:focus,
body.theme-modern-dark select:-webkit-autofill,
body.theme-modern-dark select:-webkit-autofill:hover,
body.theme-modern-dark select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--theme-bg-content) inset !important;
    -webkit-text-fill-color: var(--theme-text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
    border-radius: 16px !important;
}

/* === АНИМАЦИИ ЗАГРУЗКИ === */

body.theme-modern-dark .input-field.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.3) 50%, 
        transparent 100%);
    animation: modernInputLoadingShimmer 2s infinite;
    border-radius: inherit;
}

@keyframes modernInputLoadingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === АДАПТИВНОСТЬ === */

@media (max-width: 768px) {
    body.theme-modern-dark .input-field {
        font-size: 16px; /* Предотвращает зум на iOS */
        padding: 14px 16px;
    }
    
    body.theme-modern-dark #answer-input-element,
    body.theme-modern-dark #audition-answer-input,
    body.theme-modern-dark #dictation-answer-input {
        font-size: 16px;
        padding: 14px 16px;
    }
    
    body.theme-modern-dark .clear-input-btn {
        right: 8px;
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

/* === ТЕМНАЯ ТЕМА ДЛЯ ВЫПАДАЮЩИХ СПИСКОВ === */

body.theme-modern-dark select option {
    background: var(--theme-bg-content);
    color: var(--theme-text-primary);
    padding: 8px 12px;
}

body.theme-modern-dark select option:hover,
body.theme-modern-dark select option:focus {
    background: var(--theme-accent-primary);
    color: var(--theme-button-text-on-accent);
}

/* === УЛУЧШЕННЫЕ ПЕРЕХОДЫ === */

body.theme-modern-dark .input-field,
body.theme-modern-dark select.input-field,
body.theme-modern-dark textarea.input-field {
    will-change: transform, box-shadow, background-color;
}

body.theme-modern-dark .input-field:focus,
body.theme-modern-dark select.input-field:focus,
body.theme-modern-dark textarea.input-field:focus {
    will-change: auto;
}

/* === ПОДДЕРЖКА PREFERS-REDUCED-MOTION === */

@media (prefers-reduced-motion: reduce) {
    body.theme-modern-dark .input-field,
    body.theme-modern-dark select.input-field,
    body.theme-modern-dark textarea.input-field,
    body.theme-modern-dark .clear-input-btn,
    body.theme-modern-dark .input-hint {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    body.theme-modern-dark .input-field:focus,
    body.theme-modern-dark select.input-field:focus,
    body.theme-modern-dark textarea.input-field:focus {
        transform: none !important;
    }
}