/* BravoHomes Main Styles */
:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* ===== USER WELCOME COMPONENTS ===== */
.user-welcome-section {
    margin-bottom: 0;
}

.quick-stats-section .card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-stats-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.quick-stats-section .card-body {
    padding: 1.5rem;
}

.quick-stats-section .card h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.quick-stats-section .card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* User alert styling to match base.html */
.alert-info {
    background: linear-gradient(135deg, #d1edff 0%, #bee5eb 100%);
    border: 1px solid #b6d4fe;
    border-radius: 10px;
    border-left: 4px solid #00A4EF;
}

/* Responsive user stats */
@media (max-width: 768px) {
    .quick-stats-section .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .quick-stats-section .card-body {
        padding: 1rem;
    }
    
    .user-welcome-section .alert .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .user-welcome-section .alert .btn-group {
        justify-content: center;
    }
}

/* Animation for user components */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-welcome-section .alert,
.quick-stats-section .card {
    animation: fadeInUp 0.6s ease-out;
}

.quick-stats-section .card:nth-child(1) { animation-delay: 0.1s; }
.quick-stats-section .card:nth-child(2) { animation-delay: 0.2s; }
.quick-stats-section .card:nth-child(3) { animation-delay: 0.3s; }
.quick-stats-section .card:nth-child(4) { animation-delay: 0.4s; }
