:root {
    --bg-chassis: #0b0d13;
    --border-chassis: #1e2433;
    --bg-screen: #05070a;
    --screen-border: #141b2b;
    --accent-emerald: #10b981;
    --accent-cyan: #00f0ff;
    --key-bg: #151b29;
    --key-hover: #1e2638;
    --key-active: #27324a;
    --text-primary: #f8fafc;
    --text-muted: #64748b;
}

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

body {
    background-color: #06080d;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 65%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.pos-container {
    width: 330px;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pos-chassis {
    background: linear-gradient(180deg, #131722, var(--bg-chassis));
    border: 2px solid var(--border-chassis);
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pos-reader-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 14px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.slot-line {
    width: 70%;
    height: 3px;
    background: #1c2333;
    border-radius: 2px;
}

.pos-oled-screen {
    background: var(--bg-screen);
    border: 1px solid var(--screen-border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 18px;
}

.screen-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.oled-badge {
    color: var(--accent-emerald);
}

.target-indicator {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.amount-display-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 8px 0 14px;
}

.currency-tag {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
}

.amount-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
}

.reason-input-wrap input {
    width: 100%;
    background: #0d121c;
    border: 1px solid #1f2738;
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--text-primary);
    font-size: 0.78rem;
    outline: none;
}

.reason-input-wrap input:focus {
    border-color: var(--accent-cyan);
}

.pos-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.key-btn {
    background: var(--key-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    height: 48px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.15s ease;
}

.key-btn:hover {
    background: var(--key-hover);
    transform: translateY(-1px);
}

.key-btn:active {
    background: var(--key-active);
    transform: translateY(1px);
}

.key-cancel {
    font-size: 0.85rem;
    color: #ef4444;
}

.key-backspace {
    font-size: 0.95rem;
    color: #f59e0b;
}

.btn-charge {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-charge:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-pos-close {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 6px;
    cursor: pointer;
}

.btn-pos-close:hover {
    color: var(--text-primary);
}
