/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Watermark */
.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1000;
    pointer-events: none;
    user-select: none;
}

/* Intro Animation */
.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000428 0%, #004e92 100%);
    z-index: 9999;
    overflow: hidden;
}

.night-scene {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stars {
    position: absolute;
    width: 1px;
    height: 1px;
    background: white;
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: twinkle 3s infinite reverse;
}

.stars.small {
    width: 0.5px;
    height: 0.5px;
    opacity: 0.7;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.moon {
    position: absolute;
    top: 50px;
    right: 100px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f0f0f0 70%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.city-skyline {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, #111 20%);
}

/* Person Walking Animation */
.person-walking {
    position: absolute;
    bottom: 150px;
    left: -100px;
    animation: walk 8s ease-in-out forwards;
}

.person-body {
    width: 40px;
    height: 100px;
    position: relative;
}

.person-head {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    left: 5px;
}

.person-arm, .person-leg {
    position: absolute;
    background: #fff;
    border-radius: 10px;
}

.person-arm {
    width: 25px;
    height: 10px;
    top: 20px;
    animation: swingArms 0.5s infinite alternate;
}

.person-arm.left {
    left: -15px;
    transform-origin: right center;
    animation-delay: 0.25s;
}

.person-arm.right {
    right: -15px;
    transform-origin: left center;
}

.person-leg {
    width: 10px;
    height: 40px;
    bottom: 0;
    animation: walkLegs 0.5s infinite alternate;
}

.person-leg.left {
    left: 10px;
    animation-delay: 0.25s;
}

.person-leg.right {
    right: 10px;
}

@keyframes walk {
    0% { left: -100px; }
    100% { left: calc(50% - 150px); }
}

@keyframes swingArms {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

@keyframes walkLegs {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

/* ATM Machine Intro */
.atm-machine-intro {
    position: absolute;
    bottom: 100px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    animation: appearATM 1s 8s forwards;
}

.atm-cabinet {
    width: 300px;
    height: 400px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 20px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 -10px 20px rgba(0, 0, 0, 0.3),
        inset 0 10px 20px rgba(255, 255, 255, 0.1);
}

.atm-screen {
    position: absolute;
    top: 40px;
    left: 30px;
    right: 30px;
    height: 180px;
    background: linear-gradient(135deg, #0a1929 0%, #1a3a5f 100%);
    border-radius: 10px;
    padding: 20px;
    opacity: 0;
    animation: screenPowerOn 1s 9s forwards;
}

@keyframes appearATM {
    0% { opacity: 0; transform: translateX(50%) translateY(50px); }
    100% { opacity: 1; transform: translateX(50%) translateY(0); }
}

@keyframes screenPowerOn {
    0% { opacity: 0; box-shadow: 0 0 0 rgba(0, 150, 255, 0); }
    100% { 
        opacity: 1; 
        box-shadow: 
            0 0 20px rgba(0, 150, 255, 0.5),
            inset 0 0 30px rgba(0, 150, 255, 0.2);
    }
}

.welcome-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    text-align: center;
    margin-top: 50px;
}

.letter {
    display: inline-block;
    opacity: 0;
    animation: letterAppear 0.5s calc(var(--i) * 0.1s + 9s) forwards;
}

@keyframes letterAppear {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main ATM Container */
.atm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ATM Machine */
.atm-machine {
    width: 800px;
    max-width: 90%;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.atm-machine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
    animation: ledGlow 2s infinite;
}

@keyframes ledGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Glass Morphism Screen */
.atm-screen-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.atm-screen-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #00b4db;
}

.bank-logo i {
    font-size: 24px;
}

.screen-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Screens */
.screen {
    display: none;
}

.screen.active {
    display: block;
    animation: screenSlide 0.3s ease-out;
}

@keyframes screenSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.screen-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: #00b4db;
    text-align: center;
}

/* Input Groups */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #00b4db;
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.3);
}

.pin-container {
    position: relative;
}

.pin-dots {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.pin-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Buttons */
.atm-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.atm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.atm-btn:hover::before {
    left: 100%;
}

.atm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 180, 219, 0.3);
}

.atm-btn:active {
    transform: translateY(0);
}

.atm-btn.secondary-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
}

/* Login Attempts */
.login-attempts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.attempt-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.dot.active {
    background: #00b4db;
}

.dot.used {
    background: #ff4757;
}

/* Error Message */
.error-message {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Main Menu */
.user-greeting {
    text-align: center;
    margin-bottom: 30px;
}

.user-greeting h2 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00b4db, #00ff95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.account-number {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.balance-display {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.balance-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(45deg, #00ff95, #00b4db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menu Options */
.menu-options {
    margin-top: 30px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.menu-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-option:hover {
    background: rgba(0, 180, 219, 0.1);
    border-color: rgba(0, 180, 219, 0.3);
    transform: translateY(-5px);
}

.menu-option .option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.menu-option span {
    font-size: 16px;
    font-weight: 600;
}

/* Balance Screen */
.balance-details {
    margin-bottom: 30px;
}

.balance-card {
    background: linear-gradient(135deg, #1a3a5f, #0a1929);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 180, 219, 0.3);
}

.balance-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.balance-card-header i {
    font-size: 32px;
    color: #00b4db;
}

.balance-card-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    text-align: center;
    margin: 30px 0;
    color: #00ff95;
}

.balance-card-footer {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.recent-transactions {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.recent-transactions h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #00b4db;
}

.transactions-list {
    max-height: 200px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.transaction-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.transaction-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.transaction-type.deposit { color: #00ff95; }
.transaction-type.withdraw { color: #ff4757; }

.transaction-amount {
    font-weight: 600;
}

.transaction-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Deposit & Withdraw Animations */
.deposit-animation, .withdraw-animation {
    height: 200px;
    position: relative;
    margin-bottom: 30px;
}

.cash-slot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.cash-note {
    position: absolute;
    width: 180px;
    height: 80px;
    background: linear-gradient(135deg, #8BC34A, #4CAF50);
    border-radius: 5px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(200px);
}

@keyframes depositCash {
    0% { transform: translateY(200px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

.cash-dispenser-anim {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 150px;
}

.dispenser-slot {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.cash-stack {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
}

.cash-stack div {
    width: 150px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    margin-bottom: -60px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: dispenseCash 0.5s forwards;
}

@keyframes dispenseCash {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

/* Success Messages */
.deposit-success, .withdraw-success {
    text-align: center;
    margin: 30px 0;
}

.success-animation {
    font-size: 60px;
    color: #00ff95;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-message {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00ff95;
}

.thank-you-message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.collect-cash-anim {
    font-size: 60px;
    color: #00b4db;
    margin-bottom: 20px;
    position: relative;
}

.cash-flow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    background: linear-gradient(transparent, rgba(0, 180, 219, 0.3));
    animation: cashFlow 1s infinite;
}

@keyframes cashFlow {
    0% { transform: translateY(-100px); opacity: 0; }
    100% { transform: translateY(100px); opacity: 1; }
}

/* Amount Input */
.amount-input {
    margin-bottom: 30px;
}

.amount-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.amount-display span {
    font-size: 24px;
    font-weight: 600;
    color: #00b4db;
}

.amount-display input {
    flex: 1;
    padding: 15px;
    font-size: 32px;
    font-family: 'Orbitron', sans-serif;
    background: transparent;
    border: none;
    color: white;
    text-align: center;
}

.amount-display input:focus {
    outline: none;
}

.quick-amounts {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.quick-amount {
    padding: 10px 20px;
    background: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    border-radius: 10px;
    color: #00b4db;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-amount:hover {
    background: rgba(0, 180, 219, 0.2);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Keypad */
.atm-keypad {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.keypad-key {
    aspect-ratio: 1;
    border: none;
    border-radius: 15px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.keypad-key::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.keypad-key:hover::after {
    opacity: 1;
}

.keypad-key:active {
    transform: scale(0.95);
}

.keypad-key i {
    font-size: 20px;
}

.clear-key {
    background: linear-gradient(145deg, #ff4757, #ff3838);
}

.enter-key {
    background: linear-gradient(145deg, #00b4db, #0083b0);
}

/* ATM Features */
.atm-features {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-slot, .receipt-printer, .cash-dispenser {
    text-align: center;
}

.card-insert, .receipt-slot, .cash-out {
    width: 80px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.card-insert::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 40px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 3px;
}

.receipt-btn {
    padding: 8px 15px;
    background: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    border-radius: 5px;
    color: #00b4db;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.receipt-btn:hover {
    background: rgba(0, 180, 219, 0.2);
}

.cash-out::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 40px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 3px;
}

/* Admin Link */
.admin-link {
    margin-top: 30px;
}

.admin-btn {
    padding: 12px 25px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    color: #ff4757;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.admin-btn:hover {
    background: rgba(255, 71, 87, 0.2);
    transform: translateY(-2px);
}

/* Admin Panel Styles */
.admin-body {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.admin-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-logo {
    margin-bottom: 40px;
}

.admin-logo i {
    font-size: 60px;
    color: #00b4db;
    margin-bottom: 20px;
}

.admin-logo h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #00b4db;
}

.admin-input-group {
    margin-bottom: 30px;
    text-align: left;
}

.admin-input-group label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.admin-input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    text-align: center;
    letter-spacing: 10px;
}

.admin-login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 180, 219, 0.3);
}

.admin-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.back-to-atm {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.back-to-atm:hover {
    color: #00b4db;
}

/* Admin Dashboard */
.admin-dashboard {
    animation: fadeIn 0.5s;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header-left h1 {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00b4db, #00ff95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-header-right {
    display: flex;
    gap: 15px;
}

.admin-action-btn {
    padding: 12px 25px;
    background: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    border-radius: 10px;
    color: #00b4db;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.admin-action-btn:hover {
    background: rgba(0, 180, 219, 0.2);
    transform: translateY(-2px);
}

.admin-action-btn.logout-admin {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 180, 219, 0.3);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-info h3 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #00ff95;
}

/* Admin Sections */
.admin-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    color: #00b4db;
}

.section-action {
    padding: 10px 20px;
    background: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    border-radius: 8px;
    color: #00b4db;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.section-action:hover {
    background: rgba(0, 180, 219, 0.2);
}

.section-action.clear-logs {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.section-content {
    padding: 30px;
}

/* Users List */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

.user-item:hover {
    background: rgba(0, 0, 0, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.user-details p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.user-balance {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #00ff95;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.user-action-btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.user-action-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.user-action-btn.reset {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.user-action-btn.reset:hover {
    background: rgba(255, 193, 7, 0.2);
}

/* Transactions Table */
.transactions-table {
    overflow-x: auto;
}

.transactions-table table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th {
    text-align: left;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: #00b4db;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transactions-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.transactions-table tr:hover {
    background: rgba(0, 0, 0, 0.2);
}

.transactions-table .type {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.transactions-table .type.deposit {
    background: rgba(0, 255, 149, 0.1);
    color: #00ff95;
}

.transactions-table .type.withdraw {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

/* Controls Grid */
.controls-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.control-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.control-card:hover {
    border-color: rgba(0, 180, 219, 0.3);
    transform: translateY(-5px);
}

.control-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #00b4db;
}

.control-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.control-btn {
    padding: 10px 20px;
    background: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    border-radius: 8px;
    color: #00b4db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(0, 180, 219, 0.2);
}

.control-btn.danger {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

/* Responsive Design */
@media (max-width: 768px) {
    .atm-machine {
        width: 95%;
        padding: 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .controls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transactions-table {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .atm-screen-glass {
        padding: 15px;
    }
    
    .balance-amount {
        font-size: 36px;
    }
}