/* ATM Simulator Styles */

/* ATM Body */
.atm-body {
    width: var(--device-atm-width);
    max-width: 100%;
    background: linear-gradient(180deg, var(--atm-body) 0%, var(--atm-body-light) 50%, var(--atm-body) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 
        var(--shadow-xl),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
    /* Container query support */
    container-type: inline-size;
    container-name: atm-device;
}

.atm-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient-horizontal);
}

/* ATM Top Panel */
.atm-top-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
}

.atm-camera {
    width: 12px;
    height: 12px;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: 
        inset 0 0 4px rgba(0, 0, 0, 0.5),
        0 0 4px rgba(0, 255, 0, 0.3);
    position: relative;
}

.atm-camera::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #333 0%, #000 100%);
    border-radius: 50%;
}

.atm-speaker-grille {
    width: 60px;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        #1a1a1a 0px,
        #1a1a1a 2px,
        #333 2px,
        #333 4px
    );
    border-radius: 2px;
}

/* ATM Screen Frame - Unified device display */
.atm-screen-frame {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid #2a2a2a;
}

/* Screen frame accent line */
.atm-screen-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--accent-gradient-horizontal);
    border-radius: 0 0 2px 2px;
}

/* ATM Screen */
.atm-screen {
    width: 100%;
    height: clamp(240px, 55vw, 300px);
    background: linear-gradient(180deg, #0A1628 0%, #0D1E36 100%);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--atm-screen-text);
    font-size: var(--text-sm);
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
    box-shadow: 
        inset 0 0 30px var(--atm-screen-glow),
        inset 0 0 60px rgba(0, 56, 106, 0.1);
    display: flex;
    flex-direction: column;
}

.atm-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 217, 126, 0.03) 2px,
        rgba(0, 217, 126, 0.03) 4px
    );
    pointer-events: none;
}

.atm-screen-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden; /* No scrollbars on screen content */
}

/* ATM Softkeys - Physical buttons beside the display */
.atm-softkeys {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.softkey {
    position: absolute;
    width: 10px;
    height: 28px; /* Match on-screen button height */
    background: linear-gradient(90deg, #555 0%, #444 50%, #333 100%);
    border: none;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--transition-fast);
    border-radius: 3px;
}

.softkey:hover {
    background: linear-gradient(90deg, #666 0%, #555 50%, #444 100%);
}

.softkey:active {
    transform: scale(0.95);
}

.softkey.left {
    left: -14px;
}

.softkey.right {
    right: -14px;
}

/* Position physical softkeys to align with on-screen options in bottom area */
.softkey:nth-child(1) { top: 118px; }
.softkey:nth-child(2) { top: 160px; }
.softkey:nth-child(3) { top: 202px; }
.softkey:nth-child(4) { top: 244px; }
.softkey:nth-child(5) { top: 118px; }
.softkey:nth-child(6) { top: 160px; }
.softkey:nth-child(7) { top: 202px; }
.softkey:nth-child(8) { top: 244px; }

/* ATM Keypad - Unified with POS */
.atm-keypad {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.keypad-row {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.keypad-row:last-child {
    margin-bottom: 0;
}

.atm-key {
    flex: 1;
    height: 44px;
    background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
    border: 1px solid #2a2a2a;
    border-radius: var(--radius-sm);
    color: white;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.atm-key:hover {
    background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 100%);
}

.atm-key:active {
    transform: translateY(2px);
    box-shadow: none;
}

.atm-key.cancel {
    background: linear-gradient(180deg, var(--error) 0%, #DC2626 50%, #B91C1C 100%);
    font-size: var(--text-xs);
}

.atm-key.cancel:hover {
    background: linear-gradient(180deg, #F87171 0%, var(--error) 50%, #DC2626 100%);
}

.atm-key.clear {
    background: linear-gradient(180deg, var(--pay-orange) 0%, var(--pay-orange-dark) 50%, #CC7A22 100%);
    font-size: var(--text-xs);
}

.atm-key.clear:hover {
    background: linear-gradient(180deg, var(--pay-orange-light) 0%, var(--pay-orange) 50%, var(--pay-orange-dark) 100%);
}

.atm-key.enter {
    background: linear-gradient(180deg, var(--success) 0%, #059669 50%, #047857 100%);
    font-size: var(--text-xs);
}

.atm-key.enter:hover {
    background: linear-gradient(180deg, #34D399 0%, var(--success) 50%, #059669 100%);
}

.atm-key.blank {
    visibility: hidden;
}

/* Key Press Animation */
.atm-key.pressed {
    animation: keyPress 0.15s ease;
}

@keyframes keyPress {
    0% { transform: translateY(0); }
    50% { transform: translateY(3px); }
    100% { transform: translateY(0); }
}

/* ATM Slots */
.atm-slots {
    display: flex;
    gap: var(--space-md);
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

/* Card Slot */
.atm-card-slot {
    flex: 1;
    height: 50px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.atm-card-slot:hover {
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 255, 136, 0.3);
}

.atm-card-slot.active {
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 255, 136, 0.5);
}

.card-slot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.card-slot-light {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.atm-card-slot.active .card-slot-light,
.atm-card-slot:hover .card-slot-light {
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-slot-inner span {
    font-size: 8px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

.inserted-card {
    position: absolute;
    width: 80%;
    height: 30px;
    background: linear-gradient(135deg, var(--pay-orange) 0%, var(--zillion-blue) 100%);
    border-radius: 4px;
    bottom: -40px;
    transition: bottom 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.inserted-card.inserting {
    animation: cardInsert 1s ease forwards;
}

.inserted-card.ejecting {
    animation: cardEject 1s ease forwards;
}

@keyframes cardInsert {
    0% { bottom: -40px; }
    100% { bottom: 5px; }
}

@keyframes cardEject {
    0% { bottom: 5px; }
    50% { bottom: 20px; }
    100% { bottom: -40px; }
}

/* Receipt Slot — hidden (full receipt popup is used instead) */
.atm-receipt-slot {
    display: none !important;
}

.receipt-slot-inner span {
    font-size: 8px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

.receipt-paper {
    position: absolute;
    width: 85%;
    min-height: 0;
    background: #f5f5f0;
    top: -10px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    font-family: 'Courier New', monospace;
    font-size: 7px;
    color: #333;
    padding: 6px;
    cursor: pointer;
    z-index: 10;
}

.atm-receipt-slot.printing .receipt-paper {
    opacity: 1;
    transform: translateY(0);
    animation: receiptPrint 1s ease forwards;
}

@keyframes receiptPrint {
    0% { 
        min-height: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        min-height: 120px;
        opacity: 1;
    }
}

.receipt-paper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Receipt text styling */
.receipt-paper .receipt-text {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    font-size: 5px;
    line-height: 1.2;
    white-space: pre;
    color: #333;
}

/* ATM Receipt Popup - Industry Standard ATM Receipt */
.atm-receipt-popup {
    display: none;
    position: absolute;
    width: 300px;
    max-width: 100%;
    margin: 0;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: #f8f8f5;
    max-height: 55vh;
    overflow-y: auto;
    border-radius: var(--radius-md);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    animation: atmReceiptSlideIn 0.4s ease;
}

.atm-receipt-popup.active {
    display: block;
}

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

.atm-receipt-popup .receipt-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--zillion-blue) 0%, #004d8a 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.atm-receipt-popup .receipt-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s;
}

.atm-receipt-popup .receipt-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.atm-receipt-popup .receipt-popup-content {
    padding: 16px;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 11px,
            rgba(0, 0, 0, 0.02) 11px,
            rgba(0, 0, 0, 0.02) 12px
        );
}

.atm-receipt-popup .receipt-popup-content pre {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre;
    color: #333;
    text-align: center;
}

/* Thermal printer edge effect for ATM */
.atm-receipt-popup .receipt-popup-content::after {
    content: '';
    display: block;
    height: 8px;
    background: 
        linear-gradient(135deg, transparent 25%, #f8f8f5 25%) -10px 0,
        linear-gradient(225deg, transparent 25%, #f8f8f5 25%) -10px 0;
    background-size: 10px 8px;
    margin-top: 12px;
}

/* Receipt popup hint */
.atm-receipt-popup .receipt-popup-hint,
.pos-receipt-popup .receipt-popup-hint {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 11px;
    color: #666;
    text-align: center;
    cursor: pointer;
}

/* Cash Dispenser */
.atm-cash-dispenser {
    flex: 1;
    height: 50px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cash-dispenser-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cash-dispenser-light {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.atm-cash-dispenser.dispensing .cash-dispenser-light {
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: blink 0.3s infinite;
}

.cash-dispenser-inner span {
    font-size: 8px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

.dispensed-cash {
    position: absolute;
    bottom: -50px;
    display: flex;
    gap: 2px;
    transition: bottom 0.5s ease;
}

.dispensed-cash.dispensing {
    animation: cashDispense 1s ease forwards;
}

@keyframes cashDispense {
    0% { bottom: -50px; }
    100% { bottom: 5px; }
}

.cash-note {
    width: 50px;
    height: 25px;
    background: linear-gradient(135deg, #85bb65 0%, #5a8f3e 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: white;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Deposit Slot */
.atm-deposit-slot {
    flex: 1;
    height: 50px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.deposit-slot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.deposit-slot-light {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.atm-deposit-slot.accepting .deposit-slot-light {
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: blink 0.3s infinite;
}

.deposit-slot-inner span {
    font-size: 8px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ATM Branding */
.atm-branding {
    text-align: center;
    padding: var(--space-sm);
    font-size: var(--text-lg);
    font-weight: 700;
}

.atm-brand-pay {
    color: var(--pay-orange);
}

.atm-brand-zillion {
    color: white;
}

.atm-brand-bank {
    color: #888;
    font-size: var(--text-sm);
    font-weight: 400;
    margin-left: var(--space-xs);
}

/* ATM Screen Content Styles */
.atm-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.atm-welcome h2 {
    color: var(--atm-screen-text);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.atm-welcome p {
    color: rgba(0, 255, 136, 0.7);
    font-size: var(--text-sm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.atm-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.atm-menu-header {
    text-align: center;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    margin-bottom: var(--space-sm);
}

.atm-menu-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.atm-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-xs);
}

.atm-menu-item:hover {
    background: rgba(0, 255, 136, 0.2);
}

.atm-menu-item .key-hint {
    background: rgba(0, 255, 136, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.atm-input-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.atm-input-label {
    font-size: var(--text-sm);
    text-align: center;
}

.atm-input-display {
    background: rgba(0, 0, 0, 0.5);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    min-width: 150px;
    text-align: center;
    font-size: var(--text-xl);
    letter-spacing: 4px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.atm-input-hint {
    font-size: var(--text-xs);
    color: rgba(0, 255, 136, 0.6);
}

.atm-processing {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.atm-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 136, 0.2);
    border-top-color: var(--atm-screen-text);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.atm-result {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.atm-result.success {
    color: var(--atm-screen-text);
}

.atm-result.error {
    color: #ff6b6b;
}

.atm-result-icon {
    font-size: 48px;
}

.atm-result-message {
    font-size: var(--text-base);
}

.atm-result-details {
    font-size: var(--text-xs);
    opacity: 0.8;
}

.atm-amount-select {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.atm-amount-header {
    text-align: center;
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.atm-amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    flex: 1;
}

.atm-amount-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.atm-amount-option:hover {
    background: rgba(0, 255, 136, 0.25);
}

.atm-balance-display {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
}

.atm-balance-label {
    font-size: var(--text-sm);
    opacity: 0.8;
}

.atm-balance-amount {
    font-size: var(--text-2xl);
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.atm-mini-statement {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.atm-mini-statement-header {
    text-align: center;
    padding-bottom: var(--space-xs);
    border-bottom: 1px dashed rgba(0, 255, 136, 0.3);
    margin-bottom: var(--space-xs);
}

.atm-statement-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dotted rgba(0, 255, 136, 0.1);
}

.atm-statement-row.credit {
    color: #7ee787;
}

.atm-statement-row.debit {
    color: #ff9999;
}

/* ATM Display - Button-style Options aligned with Softkeys */
.atm-display-title {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: var(--space-xs);
    color: var(--atm-screen-text);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.atm-display-content {
    text-align: center;
    font-size: 13px;
    color: rgba(0, 255, 136, 0.8);
    margin: 0;
    padding: 8px 15px;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    line-height: 1.5;
    font-family: 'Courier New', monospace;
    min-height: 60px;
    flex: 1;
}

/* PIN hint note — subtle, non-interactive */
.atm-pin-hint {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: rgba(0, 255, 136, 0.45);
    font-style: italic;
    letter-spacing: 0.5px;
    pointer-events: none;
    user-select: none;
}

/* ATM Display Options - buttons only in bottom area */
.atm-display-options {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: auto; /* Not from top */
    left: 0;
    right: 0;
    bottom: 0;
    height: 190px; /* Fixed height for button area - higher position */
    padding: 0;
    pointer-events: none;
}

.options-left,
.options-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 5px;
    padding: 10px 0;
    width: 45%;
    max-width: 110px;
}

.options-left {
    align-items: flex-start;
}

.options-right {
    align-items: flex-end;
}

/* Each option as a flex item with proper sizing */
.options-left .option,
.options-right .option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
    font-size: clamp(8px, 2.2vw, 10px);
    font-weight: 600;
    color: var(--atm-screen-text);
    transition: all var(--transition-fast);
    pointer-events: auto;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
    line-height: 1;
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

/* Hover and active styles for clickable options */
.options-left .option:not(:empty):hover,
.options-right .option:not(:empty):hover {
    background: rgba(0, 255, 136, 0.2);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.options-left .option:not(:empty):active,
.options-right .option:not(:empty):active {
    background: rgba(0, 255, 136, 0.3);
    transform: scale(0.98);
}

/* Options get evenly distributed by flexbox gap */
.options-left .option:empty,
.options-right .option:empty {
    visibility: hidden;
}

.options-left .option {
    text-align: left;
    justify-content: flex-start;
    padding-left: 8px;
}

.options-right .option {
    text-align: right;
    justify-content: flex-end;
    padding-right: 8px;
}

.options-left .option:not(:empty),
.options-right .option:not(:empty) {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 4px;
    cursor: pointer;
}

.options-left .option:not(:empty)::before {
    content: '◄';
    margin-right: 4px;
    font-size: 8px;
    opacity: 0.6;
}

.options-right .option:not(:empty)::after {
    content: '►';
    margin-left: 4px;
    font-size: 8px;
    opacity: 0.6;
}

.options-left .option:not(:empty):hover,
.options-right .option:not(:empty):hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

/* Access key underline styling for ATM buttons */
.option u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

