/* Main styles for URLPulse */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Header styling */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Card styling */
.card {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-header {
    font-weight: 600;
}

/* Dashboard stats cards */
.card-title {
    font-weight: 600;
}

.card-text {
    margin-bottom: 0;
}

/* Tables */
.table th {
    border-top: none;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Status badges */
.badge {
    padding: 0.4em 0.6em;
    font-weight: 500;
}

/* Forms */
.form-label {
    font-weight: 600;
}

.form-text {
    font-size: 0.85rem;
}

/* Custom utility classes */
.text-success {
    color: #28a745 !important;
}

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

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

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

/* Site detail page */
#responseTimeChart {
    height: 300px;
}

/* Footer */
.footer {
    margin-top: 5rem;
    padding: 1.5rem 0;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
}

/* Home page specific */
.hero-section {
    padding: 5rem 0;
    text-align: center;
}

/* Responsive utilities */
@media (max-width: 768px) {
    h1.display-5 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Animation for status changes */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.badge.bg-success, .badge.bg-danger {
    animation: pulse 2s infinite;
}

/* Charts responsive */
canvas {
    max-width: 100%;
}
