/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 18px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.site-logo {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-logo a {
    color: #2c3e50;
    text-decoration: none;
}

/* Container Layout */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 25px;
    text-align: center;
}

.page-header h1 {
    font-size: 1.8rem;
    color: #1a252f;
    margin-bottom: 8px;
}

.page-header p {
    color: #666666;
    font-size: 0.95rem;
}

/* Filter Box */
.filter-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.filter-select {
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #ffffff;
    min-width: 160px;
    outline: none;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #2b6cb0;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-btn:hover {
    background-color: #2c5282;
}

/* Hospital List & Cards */
.hospital-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.hospital-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.hospital-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
}

.hospital-name {
    font-size: 1.15rem;
    font-weight: bold;
    color: #2d3748;
}

.badge-status {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    background-color: #e6fffa;
    color: #234e52;
    border: 1px solid #b2f5ea;
}

.hospital-info {
    font-size: 0.9rem;
    color: #4a5568;
}

.hospital-info p {
    margin-bottom: 6px;
    word-break: keep-all;
}

.hospital-info strong {
    color: #718096;
    margin-right: 6px;
}

.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 600px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select, .filter-btn {
        width: 100%;
    }
}

