/* --- पंचांग UI --- */
.acrm-panchang-container {
    background: #1a2639; border: 1px solid #f37021; border-radius: 12px;
    padding: 25px; max-width: 750px; margin: 0 auto 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.acrm-header-flex {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(243,112,33,0.3); padding-bottom: 20px; margin-bottom: 20px;
}
.acrm-header-left { display: flex; align-items: center; }
.acrm-moon-icon {
    width: 50px; 
    height: 50px; 
    flex-shrink: 0; /* यह लाइन गोले को चपटा होने से रोकेगी */
    aspect-ratio: 1 / 1; /* यह पक्का करेगा कि यह पूरी तरह गोल रहे */
    background: #e2e8f0; 
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.2), 0 0 10px rgba(255,255,255,0.1); 
    margin-right: 15px;
}
.acrm-moon-shadow { 
    position: absolute; 
    top: 0; right: 0; bottom: 0; left: 0; 
    background: #1a2639; 
    border-radius: 50%; /* छाया भी गोल होनी चाहिए */
    transition: transform 0.5s ease; 
}
.acrm-header-right { text-align: right; }

.acrm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.acrm-table td { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #e2e8f0; }
.acrm-table td:first-child { font-weight: 600; color: #fff; width: 35%; }
.acrm-table td:last-child { color: #f37021; font-weight: 600; }

.acrm-yogas-box {
    margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(243,112,33,0.3);
    text-align: center; font-size: 13px; color: #cbd5e1;
}
.acrm-yogas-box span { text-decoration: underline; text-decoration-color: #f37021; text-underline-offset: 3px; margin: 0 8px; font-weight: 600; color: #fff; }

/* --- कैलेंडर UI --- */
.acrm-calendar-wrapper {
    max-width: 750px; margin: 0 auto 20px auto; background: #d9a05b;
    border-radius: 8px; padding: 15px; font-family: sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.acrm-cal-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; color: #3b2300; font-weight: bold; font-size: 18px;
}
.acrm-cal-btn {
    background: rgba(0,0,0,0.1); border: none; padding: 5px 15px; border-radius: 4px;
    cursor: pointer; font-size: 16px; color: #3b2300; font-weight: bold;
}
.acrm-cal-btn:hover { background: rgba(0,0,0,0.2); }
.acrm-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center;
}
.acrm-cal-day-name { font-weight: bold; color: #5c3a00; font-size: 14px; padding-bottom: 5px; }
.acrm-cal-date {
    padding: 8px 0; background: #b87e31; color: #fff; border-radius: 4px;
    cursor: pointer; font-weight: 600; transition: 0.2s;
}
.acrm-cal-date:hover { background: #9e6b28; }
.acrm-cal-date.active { background: #f37021; box-shadow: 0 0 8px rgba(243,112,33,0.6); }
.acrm-cal-date.empty { background: transparent; cursor: default; }
.acrm-cal-today-btn {
    display: block; width: 100%; text-align: center; margin-top: 10px;
    background: #3b2300; color: #fff; padding: 8px; border-radius: 4px; cursor: pointer; font-weight: bold;
}

/* --- Timeline UI --- */
.acrm-timeline-header {
    background: #f4b44c; border-radius: 8px; padding: 10px; margin-bottom: 15px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.acrm-timeline-header input[type="date"] {
    padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px;
}
.acrm-nav-btn {
    background: #8b0000; color: white; border: none; padding: 8px 15px;
    border-radius: 4px; cursor: pointer; font-weight: bold;
}
.acrm-nav-btn:hover { background: #a00000; }

.acrm-timeline-box {
    background: #e8e4d3; /* पुराने कागज जैसा रंग */
    border: 2px solid #d0c8a8; border-radius: 8px; padding: 20px; position: relative;
    font-family: sans-serif; overflow-x: auto;
}
.acrm-time-track {
    display: flex; justify-content: space-between; font-size: 12px;
    color: #555; font-weight: bold; margin-bottom: 10px; border-bottom: 2px solid #b85d3f;
}
.acrm-event-row {
    display: flex; align-items: center; border-bottom: 1px dashed #ccc;
    padding: 10px 0; font-size: 14px; color: #333;
}
.acrm-event-label {
    width: 120px; font-weight: bold; color: #8b0000;
}
.acrm-event-bar {
    flex: 1; display: flex; justify-content: space-between; position: relative;
}
.acrm-event-item {
    background: rgba(255,255,255,0.7); padding: 2px 8px; border-radius: 4px;
    border-left: 3px solid #f37021; text-align: center; flex: 1;
    margin: 0 2px; font-size: 13px; font-weight: 600;
}
.acrm-event-item span {
    display: block; font-size: 11px; color: #b85d3f; font-weight: normal;
}

/* =========================================
   📱 मोबाइल रिस्पॉन्सिव फिक्स (Mobile Fix)
   ========================================= */
@media screen and (max-width: 768px) {
    /* मुख्य कंटेनर जिसमें तीनों कॉलम हैं (यहाँ सही क्लास का नाम होना चाहिए) */
    .acrm-panchang-wrapper, 
    .acrm-panchang-grid,
    .acrm-panchang-main-row {
        display: flex !important;
        flex-direction: column !important; /* तीनों कॉलम एक के नीचे एक आ जाएंगे */
        gap: 20px !important;
        width: 100% !important;
    }

    /* तीनों कॉलम्स की चौड़ाई 100% कर दें */
    .acrm-panchang-col, 
    .acrm-panchang-column,
    .acrm-panchang-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    /* अगर अंदर टेबल है तो उसे भी पूरी चौड़ाई दें */
    .acrm-table {
        width: 100% !important;
    }
}