:root {
    --primary-color: #0066ff;
    --primary-dark: #004ecc;
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
}

.header {
    background: #ffffff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary, .btn-secondary-sm {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-danger-sm {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.main-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-view {
    text-align: center;
    padding: 40px 0;
}

.hero-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-text p {
    color: #666;
    margin-bottom: 20px;
}

.btn-primary-lg {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 4px;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.price span {
    font-size: 12px;
    color: #666;
}

.plan-btn {
    width: 100%;
    background: #f0f4ff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

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

.dashboard-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    gap: 10px;
}

.shop-select-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mt-20 { margin-top: 20px; }
.mt-10 { margin-top: 10px; }
.w-100 { width: 100%; }

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.thermal-receipt {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 15px;
    margin-top: 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
}

.receipt-shop-name {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.receipt-shop-details {
    text-align: center;
    font-size: 11px;
    color: #555;
    margin-bottom: 5px;
}

.dash-line {
    border: none;
    border-top: 1px dashed #999;
    margin: 8px 0;
}

.receipt-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.receipt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.receipt-table th, .receipt-table td {
    padding: 4px;
    text-align: left;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 14px;
}

.receipt-footer {
    text-align: center;
    font-size: 11px;
    margin-top: 10px;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}
