/* Custom styles for the demo app */

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.jumbotron {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
}

.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

#timer-display {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: bold;
}

#random-number {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    font-weight: bold;
}

#activity-log {
    font-size: 0.9rem;
    line-height: 1.4;
}

#activity-log .text-success {
    color: #28a745 !important;
}

#activity-log .text-info {
    color: #17a2b8 !important;
}

#activity-log .text-warning {
    color: #ffc107 !important;
}

#activity-log .text-danger {
    color: #dc3545 !important;
}

.navbar-brand {
    font-weight: bold;
}

.blockquote {
    font-style: italic;
    border-left: 4px solid #007bff;
    padding-left: 1rem;
}

pre {
    font-size: 0.85rem;
    max-height: 200px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .jumbotron {
        padding: 3rem 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    #timer-display {
        font-size: 2rem;
    }
    
    #random-number {
        font-size: 2.5rem;
    }
}

/* Loading animation */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse animation for counters */
.pulse {
    animation: pulse 0.5s ease-in-out;
}

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