/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-title {
    color: #5856FF;
    font-weight: 600;
}

/* Stats Overview */
.stats-overview .card {
    height: 100%;
    transition: transform 0.2s;
}

.stats-overview .card:hover {
    transform: translateY(-2px);
}

.stats-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.stats-item:last-child {
    border-bottom: none;
}

.stats-label {
    font-weight: 500;
    color: #666;
}

.stats-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5856FF;
}

.stats-subtitle {
    font-size: 0.875rem;
    color: #666;
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
    margin: 8px 0;
}

.progress-bar {
    background-color: #5856FF;
}

/* Chores List */
.urgency-group {
    margin-bottom: 2rem;
}

.urgency-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #5856FF;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.chore-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.chore-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.chore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.chore-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chore-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.chore-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #666;
}

.chore-actions {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.btn-primary {
    background-color: #5856FF;
    border-color: #5856FF;
}

.btn-primary:hover {
    background-color: #3634A3;
    border-color: #3634A3;
}

.btn-icon {
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    border: none;
    background: none;
    color: #666;
    transition: color 0.2s;
}

.btn-icon:hover {
    color: #5856FF;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    display: none;
}

.toast.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.toast-icon {
    margin-right: 12px;
    font-size: 1.25rem;
}

.toast-message {
    flex-grow: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Auth Pages */
.auth-form {
    max-width: 400px;
    margin: 2rem auto;
}

/* Random Chore */
.duration-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.duration-presets button {
    flex: 1;
    min-width: 80px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .chore-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chore-actions {
        margin-top: 0.5rem;
    }
}

/* Landing Page Styles */
:root {
    --primary-color: #5856FF;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.navbar-brand i {
    font-size: 1.8rem;
    vertical-align: middle;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Features Section */
.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    color: var(--primary-color);
}

/* How It Works Section */
.circle-step {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto;
}

/* Footer */
footer {
    border-top: 1px solid #dee2e6;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .circle-step {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

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

.fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: #3634A3;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(88, 86, 255, 0.25);
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}
