* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e6f7e9;
    color: #333;
    padding: 20px;
}

header {
    background-color: #ffffff;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

h1 {
    font-size: 1.2rem;
    font-weight: 700;
}

.tabs-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid #cdf0d6;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #1b4d2e;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.school-card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #f0f0f0;
    border-left: 6px solid #1b4d2e;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.school-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.school-header h3 {
    color: #1b4d2e;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cie-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
}

.school-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item.full-width {
    grid-column: span 2;
}

.detail-item strong {
    color: #888;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.card-action {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    text-align: right;
}

.btn-abrir {
    background-color: #e8f5e9;
    color: #1b4d2e;
    border: 1px solid #cdf0d6;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-abrir:hover {
    background-color: #1b4d2e;
    color: #fff;
}

/* Barra de Filtros */
.filters-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1b4d2e;
    text-transform: uppercase;
}

.filter-group input,
.filter-group select {
    padding: 10px;
    border: 2px solid #cdf0d6;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    color: #333;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: #4CAF50;
}

@media (max-width: 768px) {
    .filter-group {
        min-width: 100%;
    }
}
