/* Balance Display */
.balance-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
    display: inline-block;
    min-width: 300px;
}

.balance-label {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Chore Cards */
.chore-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    border-color: #667eea;
}

.chore-card.chore-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.chore-card.chore-disabled:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-color: transparent;
}

.chore-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.chore-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.chore-reward {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.chore-status {
    margin-bottom: 0.5rem;
}

.chore-counts {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.complete-chore-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.complete-chore-btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.complete-chore-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Message */
#success-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    min-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .balance-amount {
        font-size: 2.5rem;
    }
    
    .chore-emoji {
        font-size: 3rem;
    }
    
    .chore-title {
        font-size: 1.1rem;
    }
    
    .chore-reward {
        font-size: 1.5rem;
    }
    
    #success-message {
        min-width: 90%;
    }
}

/* PWA and Mobile Enhancements */
@media (max-width: 576px) {
    .balance-display {
        min-width: 100%;
    }
    
    .chore-card {
        margin-bottom: 1rem;
    }
}

/* Touch feedback */
.chore-card:active {
    transform: scale(0.98);
}

.btn:active {
    transform: scale(0.95);
}

/* Table improvements for mobile */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .table td, .table th {
        padding: 0.5rem;
    }
}

