/* Strike System Styles */
.strike-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
}

.strike-notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
}

.strike-icon {
    font-size: 24px;
    animation: pulse 1s infinite;
}

.strike-message {
    flex: 1;
    line-height: 1.4;
}

.strike-message strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.strike-message small {
    opacity: 0.9;
    font-size: 0.85rem;
}

.strike-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.strike-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Strike History Styles */
.strike-history-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.strike-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin: 5px 0;
    background-color: white;
    border-radius: 4px;
    border-left: 3px solid #e74c3c;
    font-size: 0.9rem;
}

.strike-history-month {
    font-weight: 600;
    color: #2c3e50;
}

.strike-history-details {
    color: #6c757d;
    font-size: 0.85rem;
}

.strike-history-date {
    color: #95a5a6;
    font-size: 0.8rem;
}

/* Enhanced Strike Badge */
.strikes-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    animation: strikeGlow 2s infinite;
}

.strikes-badge.multiple {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    box-shadow: 0 2px 4px rgba(142, 68, 173, 0.3);
}

.strikes-badge.severe {
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3);
    animation: strikeSevere 1s infinite;
}

/* Strike Statistics */
.strike-stats-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.strike-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.strike-stat-item {
    text-align: center;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.strike-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    display: block;
}

.strike-stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

/* Strike Management Buttons */
.strike-management {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.strike-management h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.strike-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.strike-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.strike-btn.reset {
    background-color: #6c757d;
    color: white;
}

.strike-btn.reset:hover {
    background-color: #5a6268;
}

.strike-btn.reset-all {
    background-color: #dc3545;
    color: white;
}

.strike-btn.reset-all:hover {
    background-color: #c82333;
}

.strike-btn.view-stats {
    background-color: #17a2b8;
    color: white;
}

.strike-btn.view-stats:hover {
    background-color: #138496;
}

/* Strike History Modal */
.strike-history-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.strike-history-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.strike-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.strike-history-header h3 {
    margin: 0;
    color: #2c3e50;
}

.strike-history-body {
    padding: 20px;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes strikeGlow {
    0%, 100% {
        box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    }
    50% {
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.6);
    }
}

@keyframes strikeSevere {
    0%, 100% {
        box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 2px 12px rgba(230, 126, 34, 0.8);
        transform: scale(1.05);
    }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
