/* Custom styles for TrainMore PWA */

/* Smooth transitions for better UX */
* {
    transition: all 0.2s ease-in-out;
}

/* Session cards */
.session-card {
    border-left: 4px solid transparent;
}

.session-card.attending {
    border-left-color: #10b981;
    background-color: #f0fdf4;
}

.session-card.not-attending {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.session-card.undecided {
    border-left-color: #f59e0b;
    background-color: #fffbeb;
}

/* Status buttons */
.status-btn {
    min-width: 80px;
}

.status-btn.active {
    transform: scale(1.05);
}

.status-btn.attending {
    background-color: #10b981;
    color: white;
}

.status-btn.not-attending {
    background-color: #ef4444;
    color: white;
}

/* Responsive design improvements */
@media (max-width: 640px) {
    .session-card {
        margin: 0 -1rem;
        border-radius: 0;
        border-left: none;
        border-top: 4px solid transparent;
    }

    .session-card.attending {
        border-top-color: #10b981;
    }

    .session-card.not-attending {
        border-top-color: #ef4444;
    }

    .session-card.undecided {
        border-top-color: #f59e0b;
    }
}

/* Loading animations */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* PWA install prompt */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}