/* onboard21 overrides */

/* Logo: prevent full-screen size; keep header/sidebar logo small */
.logo_wrapper .onboard21-logo,
.sidebar_logo .onboard21-logo,
.onboard21-logo {
    max-width: 200px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border-top-left-radius: 35px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 35px;
    border-bottom-left-radius: 12px;
}

/* Ensure wrapper doesn't let logo grow */
.logo_wrapper,
.sidebar_logo {
    max-width: 200px;
}
.logo_wrapper img,
.sidebar_logo img {
    max-width: 200px !important;
    max-height: 50px !important;
    object-fit: contain;
}

/* Ensure absolutely no top gap */
html, body { margin: 0 !important; padding: 0 !important; }

/* Remove any accidental top spacing caused by layout wrappers */
body > .full_width { margin-top: 0 !important; padding-top: 0 !important; }

/* Pull header/slider up if theme paddings create a visible top strip */
.header { margin-top: 0 !important; padding-top: 0 !important; }
.main_slider_wrapper { margin-top: 0 !important; }

/* Theme pushes header content down via paddings; remove them to eliminate top strip */
.logo_wrapper { padding-top: 10px !important; }
.main_menu_wrapper { padding-top: 10px !important; }
.menu_right_wrapper { padding-top: 10px !important; }

/* Header: nav links + language/buttons on the same row, vertically aligned */
.resp_main_heade {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    min-height: 70px;
    gap: 0 !important; /* İletişim ile dil kutusu arasında boşluk yok */
}
.resp_main_heade .main_menu_wrapper {
    float: none !important;
    padding: 0 !important;
    margin-left: auto;
    margin-right: 0 !important;
}
.resp_main_heade .main_menu_wrapper ul {
    margin-right: 0 !important;
    padding-right: 0 !important;
}
.resp_main_heade .main_menu_wrapper ul > li:last-child {
    margin-right: 0 !important; /* İletişim ile dil kutusu arası boşluk kalmasın */
}
.resp_main_heade .menu_right_wrapper {
    float: none !important;
    padding: 0 !important;
    margin-left: auto; /* butonlar sağda kalsın */
    margin-right: 0 !important;
}
.resp_main_heade .onboard21-header-lang {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.resp_main_heade .onboard21-header-actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    zoom: 0.8; /* TR + Şirket Oluştur + Giriş Yap: %20 küçült */
}

/* Şirket Oluştur / Giriş Yap: 3 karakter boşluk; Giriş Yap daha koyu */
.onboard21-header-cta .onboard21-cta + .onboard21-cta {
    margin-left: 1ch;
}
.onboard21-header-cta .onboard21-cta-login {
    background-color: #1e8fa8 !important;
    border-color: #1e8fa8 !important;
}
.onboard21-header-cta .onboard21-cta-login:hover,
.onboard21-header-cta .onboard21-cta-login:focus {
    background-color: #187a8f !important;
    border-color: #187a8f !important;
}

/* Keep logo aligned after removing padding */
.logo_wrapper { padding-left: 25px; }

/* Inline slide nav: replaces absolute-positioned shared nav */
.ob21-slide-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    margin-left: 3ch;
    float: left;
    clear: both;
    width: 100%;
}
.ob21-prev,
.ob21-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: #3bb6d5;
    border: 1px solid #3bb6d5;
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.5s;
    flex-shrink: 0;
}
.ob21-prev:hover,
.ob21-next:hover {
    background: transparent;
    color: #3bb6d5;
    text-decoration: none;
}
.ob21-prev i,
.ob21-next i {
    font-size: 19px;
    line-height: 1;
}

/* Consistent icon-text spacing inside all buttons */
.btn i[class*="fa"],
.btn i[class*="fas"],
.btn i[class*="far"],
.btn i[class*="fab"] {
    margin-right: 0.4em !important;
    margin-left: 0 !important;
}

/* Mobile sidebar: dil seçici + butonlar */
.ob21-sidebar-actions {
    padding: 12px 20px 24px 1ch;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ob21-sidebar-lang .language-switcher-wrapper {
    display: block;
}
.ob21-sidebar-lang .language-select {
    width: 100% !important;
    min-width: unset !important;
    background-color: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.ob21-sidebar-lang .language-select option {
    color: #333;
    background-color: #fff;
}
.ob21-sidebar-btn {
    display: block !important;
    text-align: center !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    width: 100%;
}

/* Sticky (blue) header state */
.menu_fixed { top: 0 !important; }
.menu_fixed .logo_wrapper { padding-top: 10px !important; }
.menu_fixed .resp_main_heade .main_menu_wrapper,
.menu_fixed .resp_main_heade .menu_right_wrapper { padding-top: 0 !important; padding-bottom: 0 !important; }
