.gb-chat-page {
    padding: 50px 0 90px;
    min-height: 70vh;
    background: linear-gradient(180deg, #fbf7ea 0%, #fbfaf6 260px);
}

.gb-chat-card {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 70px -30px rgba(43, 40, 43, 0.35);
    padding: 20px 36px 44px;
}

.gb-chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0 24px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1efe6;
}

.gb-chat-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fbf7ea;
    color: var(--agriox-primary, #2b282b);
    flex: 0 0 auto;
    transition: background 180ms ease, color 180ms ease;
}

.gb-chat-header__back:hover {
    background: var(--agriox-base, #cfae53);
    color: #ffffff;
}

.gb-chat-header__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6dfa0, var(--agriox-base, #cfae53));
    color: var(--agriox-primary, #2b282b);
    font-size: 16px;
}

.gb-chat-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--agriox-primary, #2b282b);
    margin: 0;
}

.gb-chat {
    padding-top: 10px;
}

.gb-chat__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.gb-chat__row--user {
    justify-content: flex-end;
}

.gb-chat__avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6dfa0, var(--agriox-base, #cfae53));
    color: var(--agriox-primary, #2b282b);
    font-size: 15px;
}

.gb-chat__bubble {
    max-width: 78%;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.55;
    animation: gbChatIn 320ms ease;
}

.gb-chat__bubble--bot {
    background: #ffffff;
    color: #3a3a3a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 24px -18px rgba(43, 40, 43, 0.4);
}

.gb-chat__bubble--bot i {
    color: var(--agriox-base, #cfae53);
    margin-right: 6px;
}

.gb-chat__bubble--bot strong {
    display: block;
    margin-bottom: 4px;
}

.gb-chat__bubble--bot p {
    margin: 0;
}

.gb-chat__bubble--user {
    background: var(--agriox-primary, #2b282b);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

@keyframes gbChatIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gb-chat__step {
    animation: gbChatIn 320ms ease;
}

.gb-chat__answer-area {
    margin: 0 0 26px 50px;
}

.gb-chat__answer-area--pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gb-chat__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fbf3e2;
    color: var(--agriox-primary, #2b282b);
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 180ms ease, transform 120ms ease, background 180ms ease;
}

.gb-chat__pill:hover {
    border-color: var(--agriox-base, #cfae53);
}

.gb-chat__pill:active {
    transform: scale(0.97);
}

.gb-chat__pill.is-selected {
    background: var(--agriox-base, #cfae53);
    border-color: var(--agriox-base, #cfae53);
}

.gb-chat__answer-area--pills.gb-chat__answer-area--stacked {
    flex-direction: column;
}

.gb-chat__answer-area--stacked .gb-chat__pill {
    width: 100%;
    justify-content: center;
}

/* ---------- Özel takvim ---------- */
.gb-calendar {
    margin-top: 14px;
    width: 300px;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #f1efe6;
    border-radius: 16px;
    box-shadow: 0 20px 45px -25px rgba(43, 40, 43, 0.35);
    padding: 16px;
    animation: gbChatIn 220ms ease;
}

.gb-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gb-calendar__label {
    font-weight: 700;
    font-size: 14px;
    color: var(--agriox-primary, #2b282b);
    text-transform: capitalize;
}

.gb-calendar__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fbf7ea;
    color: var(--agriox-primary, #2b282b);
    cursor: pointer;
    transition: background 150ms ease;
}

.gb-calendar__nav:hover {
    background: var(--agriox-base, #cfae53);
    color: #ffffff;
}

.gb-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.gb-calendar__day-name {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--agriox-color-1, #9a9690);
    padding-bottom: 6px;
}

.gb-calendar__cell {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 13px;
    color: #3a3a3a;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.gb-calendar__cell:hover:not(.is-disabled):not(.is-empty) {
    background: #fbf3e2;
}

.gb-calendar__cell.is-today {
    border: 1.5px solid var(--agriox-base, #cfae53);
}

.gb-calendar__cell.is-disabled {
    color: #d7d4c9;
    cursor: default;
}

.gb-calendar__cell.is-empty {
    cursor: default;
}

.gb-chat__confirm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 13px 26px;
    border-radius: 999px;
    border: none;
    background: var(--agriox-primary, #2b282b);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease;
}

.gb-chat__confirm-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.gb-chat__confirm-btn:not(:disabled):hover {
    transform: translateY(-2px);
}

.gb-chat__confirm-btn i {
    color: var(--agriox-base, #cfae53);
}

/* ---------- Analyzing screen ---------- */
.gb-chat__progress-card {
    margin: 0 0 20px 50px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 15px 35px -20px rgba(43, 40, 43, 0.4);
}

.gb-chat__progress-percent {
    font-size: 30px;
    font-weight: 800;
    color: var(--agriox-primary, #2b282b);
    margin-bottom: 12px;
}

.gb-chat__progress-bar {
    height: 8px;
    border-radius: 999px;
    background: #eceae0;
    overflow: hidden;
    margin-bottom: 18px;
}

.gb-chat__progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f6dfa0, var(--agriox-base, #cfae53));
    transition: width 400ms ease;
}

.gb-chat__progress-orbit {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 18px;
    border: 2px dashed #e8dfc4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-chat__progress-orbit i {
    font-size: 34px;
    color: var(--agriox-base, #cfae53);
    animation: gbChatSpin 2.4s linear infinite;
}

@keyframes gbChatSpin {
    to {
        transform: rotate(360deg);
    }
}

.gb-chat__progress-status {
    font-size: 13.5px;
    color: var(--agriox-color-1, #5c5a5a);
    margin: 0;
}

@media (max-width: 575px) {
    .gb-chat__answer-area,
    .gb-chat__progress-card {
        margin-left: 0;
    }

    .gb-chat__bubble {
        max-width: 88%;
    }
}
