/* Marstek Firmware Analyzer Styles */

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.display-4 {
    color: #2c3e50;
    font-weight: 300;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.progress {
    height: 0.75rem;
}

.certificate-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #fff;
}

.certificate-details {
    font-size: 0.9rem;
    color: #6c757d;
}

.certificate-details strong {
    color: #495057;
}

.download-btn {
    margin-left: 0.5rem;
}

.aws-endpoint {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0066cc;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.loading-text {
    color: #6c757d;
    font-style: italic;
}

footer {
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .summary-stats {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: unset;
    }
}