@media (max-width: 600px) {

    .prahar-table th,
    .prahar-table td {
        font-size: 0.95rem;
        padding: 8px;
    }

    .prahar-table {
        min-width: 280px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
}

.section-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;

}

.Muhurt-table {}

.Muhurt-table {
    width: 300px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    font-family: 'Open Sans', Arial, sans-serif;
}

.Muhurt-table th {
    background: #ffc107;
    color: #000000;
    padding: 8px 4px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 1rem;
}

.Muhurt-table td {
    padding: 6px 4px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #222;
}

.Muhurt-table tr:last-child td {
    border-bottom: none;
}

.current-Muhurt {
    background: #ffdb6f;
    color: #8B5CF6;
    font-weight: 600;
    border-left: 4px solid #8B5CF6;
}

@media (max-width: 400px) {
    .section-container {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        padding: 0%;
    }
}

.dial-container {
    position: relative;
    margin: 20px 0;
    background: #ffc107;
    border-radius: 20px;
    padding: 20px;
    max-width: 470px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

svg {
    display: block;
}

.legend {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.legend-item {
    flex: 1;
    background: #ffc107;
    color: #222;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    text-align: center;
    font-weight: 500;
    max-width: 205px;
}

.legend-item div:first-child {
    font-size: 1rem;
    font-weight: 600;
}

.time-range {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.8);
    margin-top: 5px;
}

.time-display {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
    color: #111;
    background: #ffc107;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    max-width: 450px;
}

.center-data {
    font-size: 14px;
    font-weight: 600;
    fill: #000;
    text-anchor: middle;
}

#centerPraharInfo,
#praharInfo {
    fill: #ff0000;
}

.center-time {
    font-size: 12px;
    fill: rgba(0, 0, 0, 0.8);
    text-anchor: middle;
}

/* Toggle switch styling */
.slider-group {
    display: inline-flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 350px;
    height: 36px;
    background: #ffc107;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}


.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 170px;
    height: 32px;
    background: white;
    border-radius: 16px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch:has(.toggle-input:checked) .toggle-slider {
    transform: translateX(175px);
}

.toggle-labels {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}

.toggle-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    z-index: 1;
}

.toggle-switch:has(.toggle-input:checked) #leftLabel {
    color: white;
}

.toggle-switch:not(:has(.toggle-input:checked)) #rightLabel {
    color: #fff;
}

.toggle-input {
    display: none;
}

.Muhurt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}