/* Custom CSS for Event Tracking System */

.btn-block {
    width: 100%;
}

.card {
    border-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
}

.card-header {
    border-radius: 10px 10px 0 0;
}

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

.badge {
    font-size: 0.8em;
}

.table-responsive {
    border-radius: 8px;
}

.alert {
    border-radius: 8px;
}

/* Map styles */
.map-container {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

#map {
    height: 100%;
    width: 100%;
}

/* Location status indicator */
.location-indicator {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1000;
}

/* Task status colors */
.task-pending {
    border-left: 4px solid #6c757d;
}

.task-in-progress {
    border-left: 4px solid #ffc107;
}

.task-completed {
    border-left: 4px solid #198754;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* Custom button styles */
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover {
    color: white;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}