/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
}

body.d-flex {
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    color: #007bff !important;
}

/* Cards básicos */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #007bff, #6610f2);
    min-height: 70vh;
    color: white;
}

/* Features */
.feature-item {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item i {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Auth container */
.auth-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #007bff;
}

/* Forms */
.form-control {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.btn-primary {
    background: #007bff;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Profile image */
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    margin: 0 auto 1rem;
    display: block;
}

/* Feedback */
.feedback {
    padding: 0.75rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
}

.feedback.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard */
.dashboard-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.balance-card {
    background: #007bff;
    color: white;
    text-align: center;
}

.balance-amount {
    font-size: 2rem;
    font-weight: bold;
}

/* Stats cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card.income {
    background: #28a745;
    color: white;
}

.stat-card.expense {
    background: #dc3545;
    color: white;
}

.stat-card.transactions {
    background: #17a2b8;
    color: white;
}

/* Transactions */
.transaction-item {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid #ddd;
}

.transaction-item.income {
    border-left-color: #28a745;
}

.transaction-item.expense {
    border-left-color: #dc3545;
}

.btn-outline-danger {
    border: 1px solid #dc3545;
    color: #dc3545;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Seção bg-light */
.bg-light, .bg-light * {
    color: #333 !important;
}

.bg-light h3, .bg-light p {
    color: #333 !important;
}
.stat-card, .feature-item, .card {
    color: #333 !important;
}

.stat-card h3, .feature-item h4, .card h4, .card h5, .card h6 {
    color: #333 !important;
}

.stat-card p, .feature-item p, .card p {
    color: #666 !important;
}

/* Footer */
footer, footer * {
    color: #fff !important;
}

footer .text-muted {
    color: #adb5bd !important;
}

footer .text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .balance-amount {
        font-size: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .dashboard-card {
        padding: 1rem;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stat-card, .feature-item {
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
}
