@import url("./voice-ui.css?v=20260914-1");
#gptChat .gpt_alan {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    background: #f4f6f3;
    color: #203b35
}

#gptChat .chat-box {
    flex: 1;
    overflow: auto;
    padding: 20px;
    margin: 0;
    display: block
}

#gptChat .arama {
    position: static;
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #fff
}

#gptChat textarea {
    flex: 1;
    width: 0;
    background: #f4f6f3;
    border: 1px solid #dce5df;
    border-radius: 16px;
    padding: 12px;
    color: #203b35;
    max-height: 140px
}

#gptChat #GPTsearchButton {
    background: #19766c;
    color: white;
    border: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px
}

.ikra-chat-new {
    align-self: flex-end;
    border: 1px solid #dce5df;
    border-radius: 20px;
    background: #fff;
    padding: 8px 14px;
    margin: 8px 14px;
    color: #19766c
}
#sonucSayisi {
    flex-direction: row-reverse;
    align-items: center;
}

.ikra-chat-info {
    text-align: center;
    color: #6d8078;
    font-size: 14px;
    padding: 20px;
    line-height: 1.7
}

.ikra-chat-message {
    padding: 14px;
    max-width: 95%;
    line-height: 1.8;
    margin-bottom: 18px
}

.ikra-chat-message.user {
    margin-left: auto;
    background: #e9f0eb;
    border-radius: 18px 18px 4px 18px;
    max-width: 82%
}

.ikra-chat-message>div {
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.ikra-chat-message small {
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: #6d8078
}

.ikra-chat-message details {
    font-size: 13px;
    border-top: 1px solid #dce5df;
    margin-top: 12px;
    padding-top: 10px
}

.ikra-chat-message summary {
    color: #19766c;
    cursor: pointer
}

.ikra-chat-message blockquote {
    white-space: pre-wrap;
    background: white;
    border-left: 3px solid #19766c;
    padding: 12px;
    margin: 10px 0
}

.ikra-chat-new:disabled,
#GPTsearchButton:disabled {
    opacity: .5
}

/* Başlık, sohbet ve mesaj alanı aynı akışta; kontroller birbirini örtmez. */
#gptChat .gptChat {
    display: flex;
    flex-direction: column
}

#gptChat .sonuclar_ust {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    background: #fff;
    color: #203b35
}

#gptChat .sonuclar_govde {
    height: auto !important;
    flex: 1;
    min-height: 0
}

#gptChat .gpt_alan {
    height: auto;
    flex: 1;
    overflow: hidden
}

#gptChat .chat-box {
    min-height: 0;
    height: auto
}

#gptChat .arama {
    flex-shrink: 0;
    height: auto;
    min-height: 76px;
    box-sizing: border-box;
    align-items: center
}

#gptChat #GPTsearchButton {
    position: static;
    flex-shrink: 0
}

#gptChat textarea {
    min-height: 48px;
    box-sizing: border-box
}

#gptChat .ikra-chat-new {
    flex-shrink: 0;
    cursor: pointer
}

#gptChat {
    --chat-bg: var(--color-background-default);
    --chat-panel: var(--color-background-elevated);
    --chat-ink: var(--color-text-default);
    --chat-accent: var(--color-success-medium);
    --chat-line: color-mix(in srgb, var(--chat-ink) 18%, transparent)
}

#gptChat .gptChat,
#gptChat .gpt_alan,
#gptChat .chat-box {
    background: var(--chat-bg);
    color: var(--chat-ink)
}

#gptChat .sonuclar_ust,
#gptChat .arama,
#gptChat .ikra-chat-new,
#gptChat .ikra-chat-message blockquote {
    background: var(--chat-panel);
    color: var(--chat-ink)
}

#gptChat .ikra-chat-message,
#gptChat .ikra-chat-message>div,
#gptChat textarea,
#gptChat #sonucSayisi {
    color: var(--chat-ink)
}

#gptChat .ikra-chat-message.user,
#gptChat textarea {
    background: color-mix(in srgb, var(--chat-accent) 8%, var(--chat-bg))
}

#gptChat .ikra-chat-info,
#gptChat .ikra-chat-message small {
    color: var(--chat-ink);
    opacity: .72
}

#gptChat summary,
#gptChat .ikra-source-open {
    color: var(--chat-accent)
}

#gptChat details,
#gptChat textarea,
#gptChat .ikra-chat-new {
    border-color: var(--chat-line)
}

#gptChat #GPTsearchButton {
    background: var(--chat-accent);
    color: var(--chat-bg)
}

#gptChat .ikra-source-open {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    margin: 4px 0 8px;
    border: 1px solid var(--chat-line);
    border-radius: 14px;
    text-decoration: none;
    background: var(--chat-panel)
}