/* ============================================
   MOBİL UYGULAMA TEMEL STİLLERİ
   ============================================ */

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--bg-primary, #F0F2F5);
    font-family: var(--font-main);
    font-size: 14px;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overscroll-behavior: none;
}

/* --- MASA BUTON İÇ YAPISI --- */
.mbtn-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 4px;
    position: relative;
    z-index: 2;
}

.btn-title {
    font-weight: 700;
    font-size: clamp(14px, 3.5vw, 18px);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.1;
    font-family: var(--font-main);
}

.btn-info-row {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 0.72em;
    padding-top: 4px;
    border-top: none;
    margin-top: 2px;
    gap: 0;
}

[style*="color: rgb(255, 255, 255)"] .btn-info-row,
[style*="color: #ffffff"] .btn-info-row {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.btn-time {
    opacity: 0.7;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.82em;
    font-family: var(--font-main);
}

.btn-amount {
    font-weight: 700;
    font-size: 1.1em;
    white-space: nowrap;
    font-family: var(--font-numeric);
    letter-spacing: -0.5px;
}

/* --- MASA BUTONLARI --- */
.mBtn, .mBBtn {
    border-radius: var(--radius-md, 12px) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: normal;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.mBtn:active, .mBBtn:active {
    transform: scale(0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* --- ANİMASYON --- */
@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}

.blink {
    animation: fade 3000ms infinite;
}
