/* DebtKiller AI Custom Styles */

:root {
    --primary-red: #DC2626;
    --primary-red-dark: #991B1B;
    --primary-green: #10B981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
}

.card-input {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
}

.progress-bar {
    background: #e5e7eb;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-green), #059669);
    height: 100%;
    transition: width 0.5s ease;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
