:root {
    --primary-color: #1a9837;
    --secondary-color: #f8f9fa;
    --accent-color: #1a9837;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    line-height: 1.6;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

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

.header .subtitle {
    font-size: 1.1rem;
    color: #666;
}

.search-container {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 152, 55, 0.2);
}

.protocol-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-btn {
    padding: 0.6rem 1.2rem;
    background-color: var(--light-color);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn:hover {
    background-color: rgba(26, 152, 55, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

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

.protocol-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.protocol-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.protocol-icon {
    font-size: 1.5rem;
}

.protocol-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.protocol-body {
    padding: 1.5rem;
}

.protocol-description {
    margin-bottom: 1rem;
    color: #555;
}

.protocol-details {
    margin-top: 1rem;
}

.detail-row {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-label {
    font-weight: 600;
    min-width: 100px;
    color: var(--dark-color);
}

.detail-value {
    color: #555;
}

.protocol-category {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background-color: rgba(26, 152, 55, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.about-section {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-top: 3rem;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .protocol-grid {
        grid-template-columns: 1fr;
    }
    
    .protocol-categories {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .detail-row {
        flex-direction: column;
    }
    
    .detail-label {
        margin-bottom: 0.2rem;
    }
}