/* public/assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom styles for terminal output */
.terminal {
    background: #1a1a2e; /* Dark background */
    color: #e2e8f0; /* Light text */
    font-family: 'Fira Code', monospace; /* Monospace font for code-like appearance */
    font-size: 0.9rem;
    height: 350px;
    overflow-y: auto;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.status-LIVE { color: #10b981; } /* Green */
.status-DEAD { color: #ef4444; } /* Red */
.status-RESET { color: #f59e0b; } /* Orange */
.status-UNKNOWN { color: #9ca3af; } /* Gray */
.status-RETRY,
.status-RATE_LIMIT,
.status-NETWORK_ERROR { color: #3b82f6; } /* Blue */

/* Progress bar styling */
.progress-custom {
    height: 8px;
    border-radius: 4px;
    background-color: #e5e7eb;
}

.progress-bar-custom {
    background-color: #8b5cf6; /* A shade of purple/indigo */
    transition: width 0.6s ease;
}

/* Download button styling */
.download-btn {
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    gap: 0.5rem;
    border: 1px solid transparent; /* Add border for consistency */
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Specific download button colors */
#downloadLive { background-color: #d1fae5; border-color: #6ee7b7; } /* Light green */
#downloadLive:hover { background-color: #a7f3d0; }

#downloadDead { background-color: #fee2e2; border-color: #fca5a5; } /* Light red */
#downloadDead:hover { background-color: #fecaca; }

#downloadReset { background-color: #fffbeb; border-color: #fcd34d; } /* Light yellow */
#downloadReset:hover { background-color: #fef08a; }

/* General button styling for primary actions */
.btn-primary-custom {
    background-color: #8b5cf6; /* Purple */
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary-custom:hover {
    background-color: #7c3aed; /* Darker purple */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Card glass effect (optional, if you want to apply it) */
.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Hide sr-only elements visually but keep them for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
