body {
    min-width: auto !important;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.wx-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s, border-color 0.2s;
}

.wx-card:hover {
    border-color: #fca311;
    transform: translateY(-2px);
}

.wx-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 6px;
}

.wx-icao {
    font-size: 16px;
    font-weight: 800;
    color: #4ade80; /* green tint */
}

.wx-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
}

.wx-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wx-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #fca311; /* AeroK yellow */
}

.wx-text-box {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 6px 8px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 11.5px;
    color: #e2e8f0;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Custom Scrollbar for Text Boxes */
.wx-text-box::-webkit-scrollbar {
    width: 5px;
}
.wx-text-box::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}
.wx-text-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}
.wx-text-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

/* 정규식 치환에 쓰일 하이라이트 스타일 */
.hl-danger {
    color: #ef4444;
    font-weight: bold;
}
.hl-warn {
    color: #fca311;
    font-weight: bold;
}