#languageModal .form-group {
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .mobile-d-none {
        display: none !important;
    }
}

:root {
    --main-color: #10b981;
    --second-color: #acb8c1;
}

/* ========================================
   MOBILE BOTTOM NAVIGATION
   ======================================== */
.em-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@supports not (backdrop-filter: blur(20px)) {
    .em-mobile-nav {
        background: rgba(255, 255, 255, 0.97);
    }
}

.em-mobile-nav__items {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 56px;
    padding: 0 4px;
}

/* Regular tabs */
.em-mobile-nav__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: #9aa4b2;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    border: none;
    background: none;
    padding: 6px 0;
    min-width: 0;
}

.em-mobile-nav__tab svg {
    flex-shrink: 0;
}

.em-mobile-nav__tab span {
    font-family: var(--em-font-family, 'Inter Tight', sans-serif);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.em-mobile-nav__tab--active {
    color: #10b981;
}

.em-mobile-nav__tab--active svg {
    stroke-width: 2.5;
}

/* Center AI button */
.em-mobile-nav__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    top: -12px;
}

.em-mobile-nav__center-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.em-mobile-nav__center-btn:active {
    transform: scale(0.92);
}

.em-mobile-nav__center-btn svg {
    color: #fff;
    stroke: #fff;
}

.em-mobile-nav__center span {
    font-family: var(--em-font-family, 'Inter Tight', sans-serif);
    font-size: 10px;
    font-weight: 600;
    color: #10b981;
    white-space: nowrap;
}

/* ========================================
   MOBILE HEADER SIMPLIFICATION
   ======================================== */
@media (max-width: 768px) {
    .em-nav__actions {
        display: none !important;
    }
    .em-nav__toggle {
        display: none !important;
    }
    .em-nav .collapse {
        display: none !important;
    }
    .em-nav .em-container {
        height: 48px !important;
        display: flex;
        align-items: center;
    }
    .em-nav__logo img {
        height: 28px !important;
    }
    .em-nav__menu {
        display: none !important;
    }
}

/* ========================================
   MOBILE BODY PADDING (bottom nav space)
   ======================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
    body.ai-wizard-open {
        padding-bottom: 0;
        overflow: hidden;
    }
}

/* ========================================
   MOBILE TOUCH OPTIMIZATION
   ======================================== */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
    .em-mobile-nav, .em-mobile-nav * {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* ========================================
   EXISTING OVERRIDES
   ======================================== */
@media screen and (max-width: 768px) {
    .dropdown input:checked ~ .dropdown__items {
        top: calc(100% + 4px) !important;
    }
}
