/* Custom styles for WatchTimer */

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

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.table th {
    border-top: none;
    font-weight: 600;
}

.badge {
    font-size: 0.75em;
}

.accuracy-excellent {
    background-color: #198754 !important;
}

.accuracy-good {
    background-color: #0d6efd !important;
}

.accuracy-fair {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.accuracy-poor {
    background-color: #dc3545 !important;
}

.timing-active {
    background-color: #d1ecf1;
}

.timing-inactive {
    background-color: #f8f9fa;
}

/* Time display styling */
.time-display {
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    font-weight: bold;
}

.target-time-display {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 0.1em;
}

/* Loading states */
.loading-overlay {
    position: relative;
}

.loading-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card {
        margin-bottom: 1rem;
    }

    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Animation for accuracy values */
.accuracy-animation {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status indicators */
.status-active {
    color: #198754;
    font-weight: bold;
}

.status-inactive {
    color: #6c757d;
}

/* Form improvements */
.form-label {
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Alert improvements */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Button improvements */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}
