.mw-panchang-container {
    max-width: 900px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    border: 2px solid #b71c1c;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: visible !important;
}
.mw-panchang-header {
    background: linear-gradient(135deg, #7a1c1c, #4a0d0d);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}
.mw-panchang-header h2, .mw-panchang-header h3 { margin: 0 0 15px 0; color: #fff; font-size: 24px; }

.mw-controls-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 8px;
}
.mw-controls-wrap select, .mw-controls-wrap input {
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}
.mw-location-mode-toggle {
    font-size: 13px;
    margin-top: 10px;
    color: #fffdf9;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
}
.mw-custom-city-wrapper { position: relative; display: none; }
.mw-autocomplete-results {
    position: absolute; top: 100%; left: 0; width: 100%; min-width: 220px;
    background: #ffffff; border: 2px solid #b71c1c; border-radius: 0 0 8px 8px;
    max-height: 220px; overflow-y: auto; z-index: 999999 !important; display: none; text-align: left;
}
.mw-autocomplete-item { padding: 10px 12px; cursor: pointer; color: #2c3e50; font-size: 13px; border-bottom: 1px solid #f1f2f6; }
.mw-autocomplete-item:hover { background-color: #fdf2e9; color: #b71c1c; font-weight: bold; }

.mw-btn {
    background: #b71c1c; color: #fff; border: none; padding: 7px 14px;
    border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 13px;
}
.mw-btn:hover { background: #5a1212; }
.mw-btn-secondary { background: #34495e; }

.mw-quick-btn-group { display: flex; gap: 5px; margin-top: 12px; justify-content: center; }

.mw-panchang-body { padding: 25px; }
.mw-section-title {
    font-size: 19px; font-weight: bold; color: #b71c1c;
    border-bottom: 2px solid #b71c1c; padding-bottom: 6px; margin: 25px 0 15px 0;
}
.mw-section-title:first-child { margin-top: 0; }
.mw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.mw-card {
    background: #fffdf9; border-left: 4px solid #b71c1c;
    padding: 14px 16px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.mw-card-title { font-size: 13px; color: #7f8c8d; text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }
.mw-card-value { font-size: 16px; font-weight: bold; color: #2c3e50; }

.mw-choghadiya-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.mw-chog-item { padding: 12px; border-radius: 6px; font-size: 14px; }
.mw-chog-good { border-left: 5px solid #27ae60; background: #eafaf1; color: #1e8449; }
.mw-chog-bad { border-left: 5px solid #c0392b; background: #fadbd8; color: #922b21; }
.mw-chog-neutral { border-left: 5px solid #f39c12; background: #fef5e7; color: #b9770e; }
.mw-loading-spinner { text-align: center; padding: 25px; display: none; font-weight: bold; color: #b71c1c; font-size: 16px; }