/* Custom styles for the digest application */

/* Digest content styling */
.digest-content {
    font-family: Georgia, serif;
    line-height: 1.6;
}

.digest-content h1 {
    color: var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.digest-content h2 {
    color: var(--bs-info);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.digest-content ol {
    padding-left: 1.5rem;
}

.digest-content li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.digest-content a {
    color: var(--bs-primary);
    text-decoration: none;
}

.digest-content a:hover {
    text-decoration: underline;
}

.digest-content hr {
    border: none;
    border-top: 1px solid var(--bs-border-color);
    margin: 2rem 0;
}

/* Feed list styling */
.feed-list {
    max-height: 200px;
    overflow-y: auto;
}

.feed-list .text-truncate {
    max-width: 300px;
}

/* Card hover effects */
.card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Status indicators */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-success {
    background-color: var(--bs-success);
}

.status-warning {
    background-color: var(--bs-warning);
}

.status-error {
    background-color: var(--bs-danger);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .digest-content {
        font-size: 0.9rem;
    }
    
    .feed-list .text-truncate {
        max-width: 200px;
    }
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
}

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

/* Footer styling */
footer {
    margin-top: auto;
}

/* Navigation styling */
.navbar-brand {
    font-weight: 600;
}

/* Form styling */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Button styling */
.btn {
    border-radius: 0.375rem;
}

.btn:hover {
    transform: translateY(-1px);
    transition: transform 0.1s ease-in-out;
}
