/* ST Event Calendar Lite - Krem / Siyah tasarım */

/* Dış kap */
.st-ecl-wrapper {
    background-color: #DDDBCE;
    border: 2px solid #2F2F2F;
    padding: 32px 32px 28px;
    max-width: 520px;
    color: #2F2F2F;
    box-sizing: border-box;
}

/* İç düzen */
.st-ecl-inner {
    width: 100%;
}

/* Üst başlık satırı */
.st-ecl-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

/* Ay / Yıl başlığı */
.st-ecl-month-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #2F2F2F;
}

/* Navigasyon butonları */
.st-ecl-nav-btns {
    display: flex;
    gap: 10px;
}

.st-ecl-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 0;
    border: 1px solid #D3CEC0;
    background-color: #ECE9DD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.st-ecl-nav-btn span {
    color: #C8B98A;
    font-size: 20px;
    line-height: 1;
}

.st-ecl-nav-btn:hover {
    background-color: #E2DECF;
    border-color: #C8B98A;
    box-shadow: 0 0 0 1px rgba(200, 185, 138, 0.45);
    transform: translateY(-1px);
}

/* Haftalık başlıklar */
.st-ecl-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 18px;
    column-gap: 10px;
}

.st-ecl-weekday {
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2F2F2F;
}

/* Günler grid */
.st-ecl-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

/* Gün kutuları */
.st-ecl-day {
    position: relative;
    border: 1px solid #2F2F2F;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    color: #2F2F2F;
    background-color: transparent;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.st-ecl-day-empty {
    border: none;
    background-color: transparent;
    pointer-events: none;
}

/* Gün numarası */
.st-ecl-day-number {
    position: relative;
    z-index: 2;
}

/* Bugün vurgusu */
.st-ecl-day-today {
    border-color: #E5D8B0;
}

/* Etkinlik noktası */
.st-ecl-day-has-event::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: #C8B98A;
}

/* Hover */
.st-ecl-day:not(.st-ecl-day-empty):hover {
    border-color: #C8B98A;
    box-shadow: 0 0 0 1px rgba(200, 185, 138, 0.55);
    cursor: default;
}

/* Tooltip */
.st-ecl-day-has-event::before {
    content: attr(data-titles);
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translate(-50%, -10px);
    min-width: 120px;
    max-width: 240px;
    padding: 8px 10px;
    background-color: #2F2F2F;
    color: #F7F5EE;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 3px;
    border: 1px solid #C8B98A;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
    z-index: 30;
}

/* Hover ile tooltip göster */
.st-ecl-day-has-event:hover::before {
    opacity: 1;
    transform: translate(-50%, -16px);
}

/* Küçük ekranlar için */
@media (max-width: 480px) {
    .st-ecl-wrapper {
        padding: 22px;
    }

    .st-ecl-month-title {
        font-size: 24px;
    }

    .st-ecl-nav-btn {
        width: 42px;
        height: 42px;
    }

    .st-ecl-day {
        font-size: 14px;
    }
}
