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


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}


h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #0f172a;
}


.saldo-box {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.saldo-box p {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
}


input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
    transition: 0.2s;
}

input:focus {
    border-color: #2563eb;
    outline: none;
}


.botones {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}


#depositar {
    background: #22c55e;
    color: white;
}

#depositar:hover {
    background: #16a34a;
    transform: scale(1.05);
}


#retirar {
    background: #ef4444;
    color: white;
}

#retirar:hover {
    background: #dc2626;
    transform: scale(1.05);
}


select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}


.movimientos-box h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

ul {
    list-style: none;
}


li {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    transition: 0.2s;
}

li:hover {
    background: #e2e8f0;
}


li:contains("Depósito") {
    border-left: 5px solid #22c55e;
}

li:contains("Retiro") {
    border-left: 5px solid #ef4444;
}

@media (max-width: 480px) {
    .container {
    margin: 10px;
    padding: 20px;
    }

    .botones {
    flex-direction: column;
    }
}