@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html {
    font-size: 14px;
}

:root {
    --primary: hsl(200, 95%, 43%);
    /* Soothing sky-azure blue */
    --primary-hover: hsl(200, 95%, 35%);
    --primary-light: hsl(200, 95%, 96%);

    --success: hsl(150, 75%, 38%);
    /* Fresh mint green */
    --success-hover: hsl(150, 75%, 30%);
    --success-light: hsl(150, 75%, 95%);

    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;

    --bg-body: hsl(210, 40%, 98%);
    /* Crisp cool white-gray background */
    --bg-card: #ffffff;
    /* Pure white card backgrounds */

    --text-main: hsl(215, 30%, 17%);
    /* Very dark slate text */
    --text-muted: hsl(215, 16%, 47%);
    /* Gray text */
    --border-color: hsl(214, 32%, 91%);
    /* Clean gray border */

    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(2, 132, 199, 0.06), 0 4px 6px -2px rgba(16, 185, 129, 0.04);

    --radius-sm: 7px;
    --radius-md: 7px;
    --radius-lg: 7px;

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* Page Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 95px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 10;
}

.brand {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 0.15rem 0.85rem 0;
    margin-left: 0.25rem;
    margin-right: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.nav-item a i {
    font-size: 1.35rem;
    margin-bottom: 0.1rem;
}

.nav-item a:hover {
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.nav-item.active a {
    color: white;
    background-color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.nav-item.active a i {
    color: white;
}

.nav-item.logout-item a {
    color: var(--danger);
}

.nav-item.logout-item a:hover {
    background-color: var(--danger-light);
    color: var(--danger);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
}

/* Main Content Layout Container */
.main-content-container {
    flex: 1;
    margin-left: 95px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Page Content Wrapper (Padded Area) */
.page-content {
    flex: 1;
    padding: 1.5rem;
}

/* Top Bar/Header Utility */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    /* 7px */
    background-color: #ffffff;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.settings-icon-btn,
.notification-bell {
    position: relative;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-icon-btn:hover,
.notification-bell:hover {
    color: var(--primary);
}

.settings-icon-btn i {
    transition: transform 0.4s ease;
}

.settings-icon-btn:hover i {
    transform: rotate(45deg);
}

.bell-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background-color: var(--danger);
    border-radius: 50%;
}

/* User profile capsule */
.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    padding: 4px 16px 4px 4px;
    background-color: hsl(210, 40%, 96%);
    /* Light grey capsule */
    border-radius: 50px;
    transition: var(--transition);
}

.user-profile-menu:hover {
    background-color: hsl(210, 30%, 92%);
}

.user-profile-menu .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.profile-chevron {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Page Title block */
.page-title-block {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.page-title-block h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Dashboard Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.metric-info h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.metric-info .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-icon.blue {
    background-color: var(--primary-light);
    color: var(--primary);
}

.metric-icon.green {
    background-color: var(--success-light);
    color: var(--success);
}

.metric-icon.amber {
    background-color: var(--warning-light);
    color: var(--warning);
}

/* UI Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: var(--success-hover);
}

.btn-secondary {
    background-color: white;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--bg-body);
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 1rem 1.25rem;
    background-color: var(--bg-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: var(--primary-light);
}

/* Badges */
.badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-pending {
    background-color: var(--warning-light);
    color: var(--warning);
}

.badge-inprogress {
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-ready {
    background-color: var(--success-light);
    color: var(--success);
}

.badge-completed {
    background-color: var(--success-light);
    color: var(--success);
    opacity: 0.8;
}

.badge-cancelled {
    background-color: var(--danger-light);
    color: var(--danger);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Login Screen Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-body), var(--primary-light));
    padding: 1.5rem;
}

.login-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* POS Redesign Layout */
.pos-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.pos-catalog {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pos-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 20px;
}

/* POS Search Bar */
.pos-search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.25rem 0.5rem;
    box-shadow: var(--shadow-sm);
}
.pos-search-label {
    font-weight: 700;
    color: var(--primary);
    padding: 0 1rem;
    font-size: 0.95rem;
    border-right: 1px solid var(--border-color);
}
.pos-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}
.pos-search-input-wrapper input {
    width: 100%;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    background: transparent;
}
.pos-search-input-wrapper input:focus {
    outline: none;
}
.pos-search-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.pos-search-btn:hover {
    background-color: var(--primary-hover);
}

/* POS Category Sections */
.pos-category-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.pos-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.pos-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}
.pos-category-dots {
    color: var(--text-muted);
    cursor: pointer;
}

/* POS Service Cards Grid */
.pos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.25rem;
}

.pos-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    user-select: none;
    min-height: 140px;
}
.pos-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary);
}
.pos-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}
.pos-card .card-icon-wrapper {
    font-size: 2.25rem;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.pos-card:hover .card-icon-wrapper {
    color: #ffffff;
}
.pos-card.selected .card-icon-wrapper {
    color: var(--primary);
}
.pos-card .card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}
.pos-card:hover .card-name {
    color: #ffffff;
}
.pos-card .card-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
}
.pos-card:hover .card-price {
    color: rgba(255, 255, 255, 0.8);
}
.pos-card.selected .card-price {
    color: var(--primary);
}

/* Hover Add Overlay */
.pos-card .hover-plus {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 2;
}
.pos-card:hover .hover-plus {
    opacity: 1;
}
.pos-card .hover-plus i {
    font-size: 1.25rem;
    color: var(--primary);
    background-color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* Card Badge Quantity Selector */
.pos-card .card-controls {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 3;
    background-color: #ffffff;
    padding: 2px 6px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.pos-card .control-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.pos-card .control-btn:hover {
    background-color: var(--primary-hover);
}
.pos-card .qty-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    min-width: 16px;
    text-align: center;
}

/* Customer Section in POS Sidebar */
.pos-customer-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.pos-customer-input-wrapper {
    flex: 1;
    position: relative;
}
.pos-customer-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.pos-customer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.pos-customer-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}
.pos-customer-stars {
    color: #eab308;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}
.pos-customer-phone {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.pos-customer-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}
.pos-customer-edit {
    position: absolute;
    right: 12px;
    top: 12px;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.85rem;
}

/* Selected Order Items List */
.pos-order-items-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pos-order-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 1.5rem;
}
.pos-order-item-row {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
}
.pos-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.pos-item-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    flex: 1;
}
.pos-item-info i {
    color: var(--text-muted);
}
.pos-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pos-item-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.pos-item-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
}
.pos-item-qty {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    min-width: 20px;
    text-align: center;
}
.pos-item-subtotal {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
    min-width: 65px;
    text-align: right;
}
.pos-item-instruction {
    width: 100%;
    border: none;
    border-bottom: 1px dashed var(--border-color);
    padding: 0.35rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: transparent;
    margin-top: 0.5rem;
}
.pos-item-instruction:focus {
    outline: none;
    border-color: var(--primary);
    color: var(--text-main);
}

/* Modals Overlay and Box */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(2px);
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}
.modal-close {
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
}
.modal-body {
    padding: 1.5rem;
}
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background-color: var(--bg-body);
}

/* Customer autocomplete dropdown list */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: var(--shadow-md);
}
.autocomplete-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}
.autocomplete-suggestion:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}
.autocomplete-suggestion strong {
    font-weight: 700;
}

/* Hide print receipt on screen */
.print-receipt-container {
    display: none;
}

/* Receipt Print layout */
@media print {
    body {
        background-color: white;
        color: black;
        font-size: 12pt;
    }

    .sidebar,
    .top-header,
    .page-title-block,
    .btn,
    .no-print {
        display: none !important;
    }

    .main-wrapper {
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .print-receipt-container {
        display: block !important;
        width: 100%;
        max-width: 80mm;
        /* Standard thermal printer width */
        margin: 0 auto;
        padding: 10px;
        font-family: monospace;
    }
}