/* ==========================================
   MICROSPLIT - SESSION DETAIL MOBILE OPTIMIZATION
   ========================================== */

/* Typography & Base Setup */
body {
    background-color: #f4f6f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 90px; /* Spațiu dedicat pentru ca checkout bar-ul de jos să nu acopere conținutul */
}

/* Common Card Styles */
.session-card {
    border-radius: 20px !important;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

/* Banner Details (Clickable) */
.clickable-banner {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-radius: 20px !important;
}

.clickable-banner:active {
    transform: scale(0.98);
}

/* Floating Sticky Checkout Bar */
.checkout-bar-floating {
    border-top: 1px solid #e2e8f0;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.9) !important;
    z-index: 1040;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08) !important;
}

.checkout-bar-container {
    max-width: 600px;
    margin: 0 auto;
}

.btn-checkout-action {
    min-height: 48px;
    border-radius: 14px !important;
    font-size: 1rem;
    padding-left: 20px;
    padding-right: 20px;
    transition: transform 0.1s ease;
}

.btn-checkout-action:active {
    transform: scale(0.97);
}

/* Item Slices Counter Controls */
.counter-box {
    background-color: #f1f5f9;
    border-radius: 14px;
    padding: 8px 12px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.counter-btn:active {
    background-color: #e2e8f0 !important;
    transform: scale(0.95);
}

.counter-input {
    width: 60px !important;
    height: 36px;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.95rem;
}

/* Modals Modern Touch */
.modal-content-custom {
    border-radius: 24px !important;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-input-custom {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1;
    padding: 10px;
}

/* Badge Tweaks */
.badge-soft-primary {
    background-color: #e0e7ff;
    color: #3730a3;
}

.badge-soft-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-soft-warning {
    background-color: #fef3c7;
    color: #92400e;
}

/* Small Screens Adjustments (<380px) */
@media (max-width: 380px) {
    body {
        padding-bottom: 100px;
    }

    .counter-input {
        width: 50px !important;
    }

    .btn-checkout-action {
        font-size: 0.9rem;
        padding-left: 12px;
        padding-right: 12px;
    }
}