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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.title {
    text-align: center;
    color: white;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.card-info {
    background: linear-gradient(135deg, #56b2c9 0%, #4a90a4 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: white;
    height: fit-content;
}

.card-info h2 {
    color: #001a33;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-weight: bold;
    color: #001a33;
}

.info-value {
    color: white;
    font-size: 1.1em;
}

.functions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.function-card {
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: #001a33;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.function-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.function-card h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.create-card { background: linear-gradient(135deg, #3fa5be 0%, #2d7a8f 100%); }
.recharge-card { background: linear-gradient(135deg, #1facce 0%, #1686a3 100%); }
.retire-card { background: linear-gradient(135deg, #0ab5e0 0%, #0891b8 100%); }
.pay-card { background: linear-gradient(135deg, #09bdeb 0%, #0797c7 100%); }
.choose-card { background: linear-gradient(135deg, #01ccff 0%, #0099cc 100%); }

.input-group {
    margin: 15px 0;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #001a33;
}

input, select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    color: #001a33;
    font-size: 1em;
    margin-bottom: 10px;
}

input:focus, select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

button {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

button:hover {
    background: linear-gradient(135deg, #003366 0%, #004499 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.saldo-positivo {
    color: #00ff88;
    font-weight: bold;
}

.saldo-negativo {
    color: #ff6b6b;
    font-weight: bold;
}

.message {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    color: white;
    text-align: center;
}

.success {
    background: rgba(0,255,136,0.2);
    border: 2px solid #00ff88;
}

.error {
    background: rgba(255,107,107,0.2);
    border: 2px solid #ff6b6b;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .functions {
        grid-template-columns: 1fr;
    }
}
