/* YazılıMax — Otel / Asansör uygulama giriş butonları */

.ymx-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.ymx-app-entries {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.ymx-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px 4px 6px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    position: relative;
    overflow: hidden;
}

.ymx-app-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, transparent 45%, transparent 100%);
    opacity: 0.65;
    pointer-events: none;
}

.ymx-app-btn__icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    font-size: 11px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ymx-app-btn__text {
    position: relative;
    z-index: 1;
}

.ymx-app-btn--otel {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 48%, #fbbf24 100%);
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
    color: #1a1205 !important;
}

.ymx-app-btn--otel .ymx-app-btn__icon {
    background: rgba(26, 18, 5, 0.18);
    color: #1a1205;
}

.ymx-app-btn--yax {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 45%, #22d3ee 100%);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 8px 22px rgba(8, 145, 178, 0.35);
}

.ymx-app-btn--hx {
    background: linear-gradient(135deg, #c2410c 0%, #ef4c23 48%, #fb7185 100%);
    border-color: rgba(239, 76, 35, 0.45);
    box-shadow: 0 8px 22px rgba(239, 76, 35, 0.35);
}

.ymx-app-btn:hover,
.ymx-app-btn:focus {
    transform: translateY(-1px);
    filter: brightness(1.05);
    text-decoration: none !important;
    outline: none;
}

.ymx-app-btn--otel:hover,
.ymx-app-btn--otel:focus {
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.48);
}

.ymx-app-btn--yax:hover,
.ymx-app-btn--yax:focus {
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.48);
}

.ymx-app-btn--hx:hover,
.ymx-app-btn--hx:focus {
    box-shadow: 0 12px 28px rgba(239, 76, 35, 0.5);
}

.page-site-premium .header-area.header-sticky .ymx-app-btn {
    padding: 3px 9px 3px 5px;
    font-size: 10px;
}

.page-site-premium .header-area.header-sticky .ymx-app-btn__icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.page-site-premium .header-area.header-sticky .ymx-header-right {
    gap: 5px;
}

/* Desktop: butonlar menünün üstünde sağda */
@media (min-width: 992px) {
    .page-site-premium .header-area .main-nav .nav-desktop.ymx-dnav {
        width: 100%;
        margin-left: 0 !important;
    }

    .page-site-premium .header-area .main-nav > .ymx-header-right {
        pointer-events: auto;
    }
}

/* Mobil: üst barda logo yanında */
@media (max-width: 991px) {
    .ymx-header-right {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        margin-right: 64px;
        flex: 1 1 auto;
    }

    .ymx-app-entries {
        gap: 6px;
    }

    .ymx-app-btn {
        padding: 3px 8px 3px 5px;
        font-size: 10px;
        letter-spacing: 0.02em;
        border-radius: 7px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    }

    .ymx-app-btn__icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
        border-radius: 5px;
    }

    .ymx-app-btn__short {
        display: inline;
    }

    .ymx-app-btn__full {
        display: none;
    }
}

@media (min-width: 992px) {
    .ymx-app-btn__short {
        display: none;
    }

    .ymx-app-btn__full {
        display: inline;
    }
}

@media (max-width: 575px) {
    .ymx-app-btn {
        padding: 4px;
        gap: 0;
    }

    .ymx-app-btn__text {
        display: none;
    }

    .ymx-app-btn__icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .ymx-app-entries {
        gap: 5px;
    }
}

/* Mobil çekmece içi — 3 ikon yan yana */
.ymx-mobile-app-entries {
    display: none;
    padding: 12px 14px 10px;
    gap: 8px;
    flex-direction: row;
    align-items: stretch;
}

@media (max-width: 991px) {
    .ymx-mobile-app-entries {
        display: flex;
    }
}

.ymx-mobile-app-entries .ymx-app-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    font-size: 9px;
    letter-spacing: 0.03em;
    border-radius: 8px;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
}

.ymx-mobile-app-entries .ymx-app-btn__icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
    border-radius: 8px;
}

.ymx-mobile-app-entries .ymx-app-btn__short {
    display: block;
}

.ymx-mobile-app-entries .ymx-app-btn__full {
    display: none;
}

.ymx-mobile-app-entries .ymx-app-btn__text {
    display: block;
}
