/* 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: #1a73e8;
    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: #1a73e8;
}

.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: #1a73e8;
}

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

.urgency-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a73e8;
    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: #1a73e8;
    border-color: #1a73e8;
}

.btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

.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: #1a73e8;
}

/* 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;
    }
}
