/* ============================
   Modern Minimalist Theme
   One Heck Of A Sandwich
   ============================ */

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

:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-alt: #fafafa;
    --primary: #ff6b35;
    --primary-light: #fff0eb;
    --primary-dark: #e55a2b;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #aeaeb2;
    --border: #e5e5ea;
    --success: #34c759;
    --success-light: #eafbef;
    --danger: #ff3b30;
    --danger-light: #fff0ef;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* Animated Background - subtle */
.kiosk-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 0;
    overflow: hidden;
}

.floating-emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.06;
    animation: float 30s infinite ease-in-out;
}

.floating-emoji:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.floating-emoji:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
    animation-duration: 28s;
}

.floating-emoji:nth-child(3) {
    left: 60%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 32s;
}

.floating-emoji:nth-child(4) {
    left: 20%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 30s;
}

.floating-emoji:nth-child(5) {
    left: 90%;
    top: 80%;
    animation-delay: 3s;
    animation-duration: 27s;
}

.floating-emoji:nth-child(6) {
    left: 40%;
    top: 30%;
    animation-delay: 5s;
    animation-duration: 29s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-40px);
    }
}

/* Kiosk Frame */
.kiosk-frame {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 32px auto;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Kiosk Header */
.kiosk-header {
    background: var(--surface);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-emoji {
    font-size: 1.8rem;
    animation: none;
}

.logo-text {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.time-display {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

/* Container */
.container {
    background: var(--bg);
    min-height: 600px;
    padding: 40px;
    position: relative;
}

.screen {
    display: none;
    animation: screenFade 0.35s ease-out;
}

.screen.active {
    display: block;
}

@keyframes screenFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Animation */
.welcome-animation {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.pulse-circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.3;
    }
}

.title {
    font-size: 2.4rem;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.animate-slide-down {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kiosk-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: none;
}

@keyframes glow {

    0%,
    100% {
        opacity: 1;
    }
}

/* Menu Buttons */
.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.btn {
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    font-family: inherit;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.kiosk-btn {
    padding: 18px 32px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.btn-icon {
    font-size: 1.4rem;
}

.btn-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

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

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

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

.btn-success:hover {
    background: #2db850;
}

.btn-warning {
    background: #ff9f0a;
    color: #ffffff;
}

.btn-info {
    background: #007aff;
    color: #ffffff;
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

.btn-danger:hover {
    background: #e6352b;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--text-muted);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.15rem;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
}

.pulse-btn {
    animation: none;
}

@keyframes btnPulse {

    0%,
    100% {
        transform: scale(1);
    }
}

/* Kiosk Grid */
.kiosk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.kiosk-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kiosk-card::before {
    display: none;
}

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

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: none;
}

.card-title {
    font-size: 1rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Order Sidebar */
.order-sidebar {
    position: fixed;
    right: 20px;
    top: 120px;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(340px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-header {
    background: var(--primary);
    padding: 16px 20px;
    text-align: center;
}

.sidebar-header h3 {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.sidebar-items {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
    min-height: 120px;
}

.sidebar-items::-webkit-scrollbar {
    width: 4px;
}

.sidebar-items::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-items::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.order-item {
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    animation: itemAppear 0.25s ease-out;
}

@keyframes itemAppear {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-total {
    padding: 16px;
    background: var(--primary-light);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    border-top: 1px solid var(--border);
}

.sidebar-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Form Groups */
.form-group {
    margin-bottom: 32px;
}

.kiosk-label {
    display: block;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}

.button-group-kiosk {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-option-kiosk {
    flex: 1;
    min-width: 140px;
    padding: 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-option-kiosk:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-option-kiosk.selected {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    animation: none;
}

.option-emoji {
    font-size: 2rem;
    margin-bottom: 8px;
}

.option-text {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 4px;
}

.option-price {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
}

/* Toasted Toggle */
.toasted-toggle {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.toasted-toggle:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.toasted-toggle.active {
    background: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    animation: none;
}

.toggle-icon {
    font-size: 2rem;
}

.toggle-text {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

/* Kiosk Input */
.kiosk-input {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text);
    text-align: center;
    font-weight: 500;
    font-family: inherit;
    transition: all var(--transition);
}

.kiosk-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.kiosk-input::placeholder {
    color: var(--text-muted);
}

/* Toppings Grid */
.toppings-section {
    margin-bottom: 28px;
}

.toppings-section h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.toppings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.topping-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.topping-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.topping-item.selected {
    background: var(--primary-light);
    border-color: var(--primary);
    animation: none;
}

.topping-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary);
}

.topping-item label {
    flex: 1;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.topping-extra {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--primary);
    display: none;
}

.topping-item.selected .topping-extra {
    display: inline-flex;
    align-items: center;
    animation: extraAppear 0.2s ease-out;
}

@keyframes extraAppear {
    from {
        opacity: 0;
        transform: translateX(-6px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Surcharge Info */
.surcharge-info {
    background: var(--primary-light);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 24px 0;
    text-align: center;
    animation: none;
}

.surcharge-info p {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.animate-bounce {
    animation: none;
}

/* Signature Cards */
.signature-cards-kiosk {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.signature-card-kiosk {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.signature-card-kiosk::before {
    display: none;
}

.signature-card-kiosk:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.sig-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.sig-title {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 700;
}

.sig-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.sig-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

/* Chips Price Display */
.chips-price-display {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 24px 0;
    animation: none;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Checkout */
.checkout-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.receipt-kiosk {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    box-shadow: var(--shadow-sm);
}

.receipt-header {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--border);
}

.receipt-item {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.receipt-item strong {
    color: var(--text);
    font-size: 1rem;
}

.receipt-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--border);
    text-align: center;
}

/* About This Project Screen */
.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    animation: slideInUp 0.4s ease-out;
}

.about-card:nth-child(2) {
    animation-delay: 0.1s;
}

.about-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 14px;
    animation: none;
}

.about-title {
    font-size: 1.3rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 14px;
    font-weight: 700;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

.about-text strong {
    color: var(--primary);
}

.about-links {
    margin: 32px 0;
    text-align: center;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--text);
    border: none;
    border-radius: var(--radius-md);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.github-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    animation: none;
}

.link-icon {
    font-size: 1.3rem;
}

.link-text {
    letter-spacing: 0.02em;
}

.about-signature {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.about-signature p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    animation: none;
}

/* Thank You Screen */
.celebration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.confetti {
    position: absolute;
    font-size: 2.5rem;
    animation: confettiFall 4s ease-in-out infinite;
}

.confetti:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.confetti:nth-child(3) {
    left: 60%;
    animation-delay: 1s;
}

.confetti:nth-child(4) {
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes confettiFall {
    0% {
        top: -10%;
        transform: rotate(0deg);
        opacity: 0.7;
    }

    100% {
        top: 110%;
        transform: rotate(360deg);
        opacity: 0;
    }
}

.thank-you-animation {
    text-align: center;
    margin: 40px 0;
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 12px 0;
    animation: fadeInUp 0.6s ease-out;
}

.thank-you-big {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 20px 0;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   Quantity Selector
   ============================ */
.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 180px;
    margin: 0 auto;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
}

.qty-btn {
    width: 48px;
    height: 48px;
    background: var(--bg);
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

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

.qty-btn:active {
    background: var(--primary);
    color: #ffffff;
}

.qty-input {
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    font-family: inherit;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
    background: var(--primary-light);
}

/* ============================
   Remove Button (Order Items)
   ============================ */
.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.order-item span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: none;
    background: var(--danger-light);
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

.remove-btn:hover {
    background: var(--danger);
    color: #ffffff;
    transform: scale(1.1);
}

.remove-btn:active {
    transform: scale(0.95);
}

/* ============================
   Order Number Display
   ============================ */
.order-number-display {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 8px 0 24px;
    letter-spacing: 0.04em;
    animation: fadeInUp 0.5s ease-out;
}

/* ============================
   Order Tracker
   ============================ */
.order-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 32px auto;
    max-width: 520px;
    padding: 24px 16px;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.tracker-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: var(--surface);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tracker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracker-step.completed .tracker-dot {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.tracker-step.completed .tracker-dot::after {
    width: 16px;
    height: 16px;
    background: var(--primary);
}

.tracker-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.4s ease;
    white-space: nowrap;
}

.tracker-step.completed .tracker-label {
    color: var(--primary);
}

.tracker-line {
    flex: 1;
    height: 3px;
    min-width: 40px;
    background: var(--border);
    margin: 0 8px;
    margin-bottom: 28px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.tracker-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracker-line.filled::after {
    width: 100%;
}

/* ============================
   Combo Badges & Banner
   ============================ */
.combo-savings-banner {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--success);
    background: var(--success-light);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    margin-bottom: 24px;
}

.combo-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 14px;
    background: var(--success);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* ============================
   Order History
   ============================ */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    max-height: 450px;
    overflow-y: auto;
}

.history-list::-webkit-scrollbar {
    width: 4px;
}

.history-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.history-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    animation: itemAppear 0.3s ease-out;
}

.history-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.history-order-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}

.history-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.history-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.history-total {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.history-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.history-empty p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

/* ============================
   Print Styles
   ============================ */
@media print {
    body {
        background: #ffffff;
    }

    .kiosk-background,
    .kiosk-header,
    .celebration,
    .order-tracker,
    .action-buttons,
    .checkout-buttons .btn-secondary,
    .sidebar-actions,
    .menu-buttons,
    .order-sidebar {
        display: none !important;
    }

    .kiosk-frame {
        box-shadow: none;
        border: none;
        margin: 0;
        max-width: 100%;
    }

    .container {
        padding: 20px;
        min-height: auto;
    }

    .receipt-kiosk {
        border: 1px solid #cccccc;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .receipt-header {
        font-size: 1.5rem;
        color: #000000;
    }

    .receipt-item {
        color: #333333;
    }

    .receipt-item strong {
        color: #000000;
    }

    .receipt-total {
        color: #000000;
        font-size: 1.3rem;
    }

    .subtitle {
        color: #000000;
    }

    .checkout-buttons .btn-success {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .order-sidebar {
        position: static;
        width: 100%;
        margin-top: 32px;
    }

    .kiosk-grid {
        grid-template-columns: 1fr;
    }

    .signature-cards-kiosk {
        grid-template-columns: 1fr;
    }

    .order-tracker {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .kiosk-frame {
        margin: 12px;
        border-radius: var(--radius-lg);
    }

    .container {
        padding: 20px;
    }

    .title {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .kiosk-btn {
        font-size: 0.95rem;
        padding: 16px 24px;
    }

    .button-group-kiosk {
        flex-direction: column;
    }

    .btn-option-kiosk {
        min-width: 100%;
    }

    .about-card {
        padding: 20px;
    }

    .about-title {
        font-size: 1.1rem;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .github-link {
        font-size: 0.85rem;
        padding: 14px 24px;
        flex-direction: column;
    }

    .link-icon {
        font-size: 1.2rem;
    }

    .order-tracker {
        flex-wrap: nowrap;
        gap: 0;
        padding: 16px 8px;
    }

    .tracker-dot {
        width: 28px;
        height: 28px;
    }

    .tracker-step.completed .tracker-dot::after {
        width: 12px;
        height: 12px;
    }

    .tracker-label {
        font-size: 0.7rem;
    }

    .tracker-line {
        min-width: 24px;
    }

    .order-number-display {
        font-size: 1.3rem;
    }

    .history-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}