/* Baby Pink #f4c2c2 Theme Styles */
:root {
    --brand-pink: #f4c2c2;
    --brand-pink-dark: #d89696;
    --brand-pink-text: #6b3333;
    --brand-pink-bg: #fff5f5;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf8f8;
}
::-webkit-scrollbar-thumb {
    background: #e8b6b6;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d89696;
}

/* Print styling for shipping label / invoice */
@media print {
    body * {
        visibility: hidden;
    }
    #printable-bill, #printable-bill * {
        visibility: visible;
    }
    #printable-bill {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 16px;
        background: white;
        color: black;
        font-size: 13px;
    }
    .no-print {
        display: none !important;
    }
}

/* Active navigation tab */
.nav-tab.active {
    border-color: #f4c2c2 !important;
    color: #6b3333 !important;
    background-color: #fff9f9;
}

/* Batch button active */
.batch-tab-btn.active {
    background-color: #f4c2c2 !important;
    color: #4a2121 !important;
    box-shadow: 0 1px 3px rgba(244, 194, 194, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content:not(.hidden) {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Primary Button Styling with #f4c2c2 */
.btn-baby-pink {
    background-color: #f4c2c2;
    color: #4a2121;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-baby-pink:hover {
    background-color: #ecaeae;
    box-shadow: 0 4px 12px rgba(244, 194, 194, 0.4);
}

/* Prevent mobile horizontal page overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Mobile & Touch Optimizations */
@media (max-width: 640px) {
    /* Prevent auto-zooming on focus in iOS Safari */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Touch targets */
    button, select, a {
        touch-action: manipulation;
    }

    /* Bottom sheet modal styling for phones */
    .mobile-bottom-sheet {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        max-height: 92vh !important;
        animation: slideUpMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
        opacity: 0.5;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
