/* SIMPLE WEIGH-IN DAY STYLING - Only red animation with scale icon */

/* Hide all unwanted badges and indicators */
.weight-day-card.weigh-in-day .missed-weigh-in-badge,
.weight-day-card.weigh-in-day .check-in-indicator,
.weight-day-card.weigh-in-day .weigh-in-indicator {
    display: none !important;
}

/* Hide any checkbox overlays */
.weight-day-card.weigh-in-day::after {
    display: none !important;
}

/* UNLOGGED WEIGH-IN DAY - Red fill with slow animation */
.weight-day-card.weigh-in-day:not(.logged):not(.has-weight):not(.weight-logged) {
    background: #dc3545 !important;
    background-color: #dc3545 !important; 
    background-image: none !important;
    border: 2px solid #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
    animation: slow-red-pulse 2s ease-in-out infinite !important;
    position: relative;
}

/* Slow red pulse animation for unlogged weigh-ins */
@keyframes slow-red-pulse {
    0%, 100% { 
        background-color: #dc3545;
        border-color: #dc3545; 
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3); 
    }
    50% { 
        background-color: #c82333;
        border-color: #c82333; 
        box-shadow: 0 2px 12px rgba(220, 53, 69, 0.5); 
    }
}

/* Scale icon for unlogged weigh-in days */
.weight-day-card.weigh-in-day:not(.logged):not(.has-weight):not(.weight-logged)::before {
    content: "⚖️";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.75rem;
    z-index: 10;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* COMPLETED WEIGH-IN DAY - Light grey (completed state) */
.weight-day-card.weigh-in-day.logged,
.weight-day-card.weigh-in-day.has-weight,
.weight-day-card.weigh-in-day.weight-logged,
.weight-day-card.logged.weigh-in-day {
    background: #e9ecef !important; /* Light grey background */
    background-color: #e9ecef !important;
    background-image: none !important;
    border: 2px solid #ced4da !important; /* Slightly darker grey border */
    border-color: #ced4da !important;
    color: #495057 !important; /* Dark grey text */
    box-shadow: 0 2px 8px rgba(206, 212, 218, 0.2) !important;
    animation: none !important; /* No animation for completed */
    position: relative;
}

/* Small checkmark for completed weigh-in days */
.weight-day-card.weigh-in-day.logged::before,
.weight-day-card.weigh-in-day.has-weight::before,
.weight-day-card.weigh-in-day.weight-logged::before,
.weight-day-card.logged.weigh-in-day::before {
    content: "✓";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.75rem;
    z-index: 10;
    pointer-events: none;
    background: rgba(40, 167, 69, 0.9); /* Green background for checkmark */
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(40, 167, 69, 0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    color: #ffffff !important; /* White checkmark */
    font-weight: bold;
}

/* Override hover states for completed */
.weight-day-card.weigh-in-day.logged:hover,
.weight-day-card.logged.weigh-in-day:hover {
    background: #e9ecef !important;
    background-color: #e9ecef !important;
    background-image: none !important;
    border-color: #ced4da !important;
    color: #495057 !important;
    transform: none !important;
}