:root {
    --primary: #0078d7;
    --primary-dark: #106ebe;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f5f7fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: var(--box-shadow);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

main {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 0.5rem;
}

.intro .steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.filter-section {
    background: var(--light);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.2);
}

.iso-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.iso-card {
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    background: white;
}

.iso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.iso-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.iso-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--primary);
}

.iso-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.iso-details {
    margin-bottom: 1.5rem;
}

.iso-detail {
    display: flex;
    margin-bottom: 0.5rem;
}

.detail-label {
    font-weight: 500;
    min-width: 80px;
}

.detail-value {
    color: var(--gray);
}

.sha-value {
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
    background: var(--light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.iso-actions {
    display: flex;
    gap: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background: var(--secondary);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.verification-tool {
    max-width: 600px;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.2);
}

.verification-result {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
}

.verification-result.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.verification-result.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.hidden {
    display: none;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .intro .steps {
        flex-direction: column;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .iso-container {
        grid-template-columns: 1fr;
    }
    
    .iso-actions {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 2rem;
    }
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: var(--gray-light);
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.iso-detail .detail-label {
    font-weight: 500;
    min-width: 80px;
    margin-right: 10px;
}

.iso-detail .detail-value {
    color: var(--gray);
    flex: 1;
}

.special-description {
    line-height: 1.4;
    margin-top: 5px;
}
