#tithi-wrap { max-width: 680px; margin: 20px auto; font-family: sans-serif; }
#tithi-wrap h2 { color: #8B4513; border-bottom: 2px solid #f0a500; padding-bottom: 8px; font-size: 24px; }
.tithi-sub { color: #666; margin-bottom: 16px; font-size: 14px; }
.tithi-input-row { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.tithi-input-row select,
.tithi-input-row input { padding: 10px; border: 2px solid #ddd; border-radius: 6px; font-size: 15px; }
#tithi-day   { width: 70px; }
#tithi-month { flex: 1; min-width: 120px; }
#tithi-year  { width: 100px; }
#tithi-btn   { padding: 10px 20px; background: #8B4513; color: #fff; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; }
#tithi-btn:hover    { background: #a0522d; }
#tithi-btn:disabled { background: #ccc; cursor: not-allowed; }
.tithi-loading { color: #888; font-style: italic; padding: 16px; background: #fffbf0; border-radius: 8px; line-height: 2; }
.tithi-error { color: #c0392b; background: #fdecea; padding: 12px; border-radius: 6px; }
.tithi-cards { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.tithi-card { background: #fff8f0; border: 2px solid #f0a500; border-radius: 10px; padding: 18px; flex: 1; min-width: 260px; }
.tithi-card h3 { margin: 0 0 10px; color: #8B4513; font-size: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tithi-card p { margin: 5px 0; font-size: 15px; }
.tithi-badge { font-size: 13px; padding: 3px 10px; border-radius: 20px; font-weight: bold; }
.pournami  { background: #fff3b0; color: #7a5c00; }
.amavasai  { background: #e0e0e0; color: #333; }
.tithi-section { background: #fff; border-radius: 8px; padding: 10px 14px; margin-top: 12px; border: 1px solid #f0d080; }
.tithi-section-title { font-weight: bold; color: #8B4513; margin-bottom: 4px !important; }
.tithi-highlight { background: #fff3cd; border-radius: 8px; padding: 12px 14px; margin-top: 10px; border: 1px solid #f0a500; }
.tithi-big-date { font-size: 20px !important; font-weight: bold; color: #8B4513; margin: 6px 0 !important; }
