/* GENEL */
#icas26-overlay,
#icas26-overlay * {
    box-sizing: border-box;
}

#icas26-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    background: rgba(15, 15, 15, 0.62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

#icas26-overlay.icas26-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ANA KART */
#icas26-card {
    position: relative;
    width: min(850px, 100%);
    max-height: 92vh;
    max-height: 92dvh;
    overflow-x: hidden;
    overflow-y: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 195px;
    background: #f7f4ec;
    color: #171717;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    font-family: Arial, Helvetica, sans-serif;
    transform: translateY(18px) scale(.98);
    transition: transform .35s ease;
    scrollbar-width: thin;
}

#icas26-overlay.icas26-show #icas26-card {
    transform: translateY(0) scale(1);
}

/* KAPAT */
#icas26-overlay .icas26-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ee583d;
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

#icas26-overlay .icas26-close:hover,
#icas26-overlay .icas26-close:focus-visible {
    background: #171717;
}

/* ANA ICERIK */
#icas26-overlay .icas26-main {
    min-width: 0;
    padding: 34px 34px 28px;
}

#icas26-overlay .icas26-accent {
    width: 42px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 4px;
    background: #ee583d;
}

#icas26-overlay .icas26-congress-name {
    max-width: 500px;
    margin: 0 20px 8px 0;
    color: #171717;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

#icas26-overlay .icas26-subtitle {
    margin: 0 0 20px;
    color: #77716a;
    font-size: 15px;
    line-height: 1.5;
}

/* DUYURU KARTLARI */
#icas26-overlay .icas26-announcement {
    margin: 0 0 14px;
    padding: 19px;
    border: 1px solid #ded8cc;
    border-radius: 13px;
    background: #ffffff;
}

#icas26-overlay .icas26-announcement.book {
    border-color: #f1c8be;
    background: #fffaf6;
}

#icas26-overlay .icas26-tag {
    display: block;
    margin-bottom: 9px;
    color: #e4563d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

#icas26-overlay .icas26-announcement h2 {
    margin: 0 0 12px;
    padding: 0;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

#icas26-overlay .icas26-text-tr {
    margin: 0;
    color: #302d29;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 500;
}

#icas26-overlay .icas26-text-en {
    margin: 11px 0 0;
    padding-top: 10px;
    border-top: 1px dashed #ded8cc;
    color: #736d65;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
}

/* BUTONLAR */
#icas26-overlay .icas26-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

#icas26-overlay .icas26-note {
    color: #77716a;
    font-size: 10px;
    font-weight: 700;
}

#icas26-overlay .icas26-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 43px;
    padding: 11px 15px;
    border: 0;
    border-radius: 8px;
    background: #171717;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 800;
    transition: background .2s ease;
}

#icas26-overlay .icas26-button:hover {
    background: #ee583d;
    color: #fff !important;
}

#icas26-overlay .icas26-button.book-button {
    background: #ee583d;
}

#icas26-overlay .icas26-button.book-button:hover {
    background: #171717;
}

/* ALT IMZA */
#icas26-overlay .icas26-regards {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ded8cc;
    color: #77716a;
    font-size: 11px;
    line-height: 1.7;
}

#icas26-overlay .icas26-regards strong {
    color: #171717;
}

/* SAG KONGRE BOLUMU */
#icas26-overlay .icas26-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 34px 22px 25px;
    background: #171717;
    color: #ffffff;
}

#icas26-overlay .icas26-status {
    margin-bottom: 14px;
    color: #ff7258;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

#icas26-overlay .icas26-year {
    color: #fff;
    font-size: 33px;
    line-height: 1.05;
    font-weight: 900;
}

#icas26-overlay .icas26-date {
    margin-top: 12px;
    color: #aaa59d;
    font-size: 12px;
    line-height: 1.5;
}

#icas26-overlay .icas26-place {
    margin-top: 24px;
    color: #aaa59d;
    font-size: 10px;
    line-height: 1.6;
    font-weight: 700;
}

/* MOBIL */
@media (max-width: 650px) {
    #icas26-overlay {
        padding: 10px;
    }

    #icas26-card {
        width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    #icas26-overlay .icas26-main {
        padding: 25px 19px 20px;
    }

    #icas26-overlay .icas26-congress-name {
        font-size: 16px;
    }

    #icas26-overlay .icas26-subtitle {
        font-size: 13px;
    }

    #icas26-overlay .icas26-announcement {
        padding: 16px;
    }

    #icas26-overlay .icas26-announcement h2 {
        font-size: 17px;
    }

    #icas26-overlay .icas26-action {
        flex-direction: column;
        align-items: stretch;
    }

    #icas26-overlay .icas26-button {
        width: 100%;
    }

    #icas26-overlay .icas26-side {
        min-height: auto;
        padding: 18px 20px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    #icas26-overlay .icas26-year {
        font-size: 23px;
    }

    #icas26-overlay .icas26-status {
        margin-bottom: 5px;
    }

    #icas26-overlay .icas26-date {
        margin-top: 5px;
    }

    #icas26-overlay .icas26-place {
        margin: 0;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    #icas26-overlay,
    #icas26-card {
        transition: none;
    }
}
