/* Kalender CSS based on image */
body {
    background-color: #fdfafb;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.k-header {
    background: #fdfafb;
    padding: 20px 15px;
}

.k-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.k-icon-drop {
    font-size: 24px;
    color: #e6a1b8; /* Light pink outline drop color */
    -webkit-text-stroke: 1px #e6a1b8;
    color: transparent; 
}

.k-title-text h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
}

.k-title-text p {
    font-size: 11px;
    color: #888;
    margin: 0;
}

.k-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.k-btn-today {
    background: #fff0f5;
    border: 1px solid #ffd6e8;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 11px;
    color: #c24669;
    cursor: pointer;
    text-align: center;
}

.k-btn-today span {
    font-size: 10px;
    color: #777;
}

.k-nav-arrows {
    display: flex;
    gap: 20px;
}

.k-nav-arrows button {
    background: none;
    border: none;
    font-size: 16px;
    color: #555;
    cursor: pointer;
}

.k-month-label {
    text-align: right;
    font-size: 14px;
    color: #333;
}

.k-month-label strong {
    font-size: 16px;
}

.k-btn-sholat {
    width: 100%;
    background: transparent;
    border: 1px solid #f2c7d5;
    color: #c24669;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
}

.k-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #555;
}

.k-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.k-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.k-haid { background: #ffcccc; }
.k-nifas { background: #d97090; }
.k-suci { background: #ccffcc; }
.k-melahirkan-outline { border: 2px solid #a366ff; background: transparent; width: 10px; height: 10px;}
.k-melahirkan-solid { background: #a366ff; }

.k-calendar-wrapper {
    background: white;
    border-radius: 16px;
    margin: 0 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    padding: 10px;
}

.k-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    color: #777;
    margin-bottom: 10px;
}

.k-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 5px;
}

.k-day-cell {
    position: relative;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #333;
    border-radius: 50%;
    margin: 2px;
    cursor: pointer;
}

.k-hijri-date {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 8px;
    color: #999;
}

.k-empty-cell {
    background: transparent;
}

/* Status colors for dates */
.k-day-cell.nifas {
    background: #d97090;
    color: white;
}

.k-day-cell.nifas .k-hijri-date {
    color: rgba(255,255,255,0.7);
}

.k-notes-container {
    padding: 15px;
}

.k-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.k-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.k-card-header h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    flex-grow: 1;
}

.k-note-box {
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.k-note-box h4 {
    font-size: 12px;
    margin: 0 0 10px 0;
}

.k-box-blue {
    background: #f0f7ff;
    border: 1px solid #d0e3ff;
}
.k-box-blue h4 { color: #2d6bcf; }

.k-box-orange {
    background: #fff8f0;
    border: 1px solid #ffe6cc;
}
.k-box-orange h4 { color: #d68128; }

.k-box-green {
    background: #f0fff4;
    border: 1px solid #cce8d6;
}
.k-box-green h4 { color: #2e8f52; }

.k-btn-add {
    width: 100%;
    background: transparent;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
}

.k-text-blue {
    color: #2d6bcf;
    border: 1px dashed #2d6bcf;
}

.k-text-orange {
    color: #d68128;
    border: 1px dashed #d68128;
}

.k-text-green {
    color: #2e8f52;
    border: 1px dashed #2e8f52;
}

.k-item-list {
    margin-bottom: 10px;
}

.k-item {
    background: white;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.k-item-info {
    flex-grow: 1;
}

.k-item-time {
    font-size: 10px;
    color: #888;
    margin-bottom: 2px;
}

.k-item-title {
    font-size: 12px;
    color: #333;
}

.k-btn-delete {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

.k-btn-edit {
    background: transparent;
    border: none;
    color: #888;
    font-size: 14px;
    cursor: pointer;
}

.k-year-desc {
    font-size: 11px;
    color: #777;
    margin-bottom: 12px;
    line-height: 1.4;
}

.k-year-input-area {
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 15px;
    font-size: 12px;
    min-height: 50px;
    cursor: text;
}

#year-note-textarea {
    width: 100%;
    border: 1px solid #c24669;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    font-family: inherit;
    resize: none;
}
#year-note-textarea:focus {
    outline: none;
}
