/* ============================================================
   ancientfit-frontend/css/onuris.css
   ONURIS AI — The Stoic Coach
   Glass-morphism styling matching profile.css
   No emojis — pure elegant design
   ============================================================ */

/* ============================================================
   ONURIS PANEL CONTAINER
   ============================================================ */

.onuris-panel {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.10);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    position: relative;
}

.onuris-panel:hover {
    border-color: rgba(255, 215, 0, 0.20);
}

.onuris-panel.onuris-collapsed .onuris-chat,
.onuris-panel.onuris-collapsed .onuris-actions,
.onuris-panel.onuris-collapsed .onuris-input-container,
.onuris-panel.onuris-collapsed .onuris-typing {
    display: none;
}

.onuris-panel.onuris-collapsed .onuris-header {
    border-bottom: none;
    padding-bottom: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */

.onuris-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.40);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.onuris-header:hover {
    background: rgba(0, 0, 0, 0.50);
}

.onuris-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.20), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onuris-avatar i {
    font-size: 18px;
    color: #D39D55;
}

.onuris-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.onuris-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #D39D55;
    letter-spacing: 0.02em;
}

.onuris-status {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

.onuris-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00B894;
    border-radius: 50%;
    margin-right: 6px;
    animation: onurisStatusPulse 2s ease-in-out infinite;
}

@keyframes onurisStatusPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.onuris-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 6px 10px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.onuris-toggle:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   CHAT CONTAINER
   ============================================================ */

.onuris-chat {
    padding: 16px 20px;
    max-height: 400px;
    min-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

.onuris-chat::-webkit-scrollbar {
    width: 4px;
}

.onuris-chat::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
}

.onuris-chat::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

/* ============================================================
   MESSAGES
   ============================================================ */

.onuris-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 92%;
    animation: onurisMessageIn 0.3s ease;
}

@keyframes onurisMessageIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.onuris-message--onuris {
    align-self: flex-start;
}

.onuris-message--athlete {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.onuris-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onuris-message--onuris .onuris-message-avatar {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.15);
    color: #D39D55;
}

.onuris-message--athlete .onuris-message-avatar {
    background: rgba(0, 184, 148, 0.12);
    border: 1px solid rgba(0, 184, 148, 0.15);
    color: #00B894;
}

.onuris-message-avatar i {
    font-size: 14px;
}

.onuris-message-bubble {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    padding: 12px 16px;
    border-radius: 14px;
    max-width: 100%;
    word-wrap: break-word;
}

.onuris-message--onuris .onuris-message-bubble {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}

.onuris-message--athlete .onuris-message-bubble {
    background: rgba(0, 184, 148, 0.15);
    border: 1px solid rgba(0, 184, 148, 0.15);
    color: #fff;
}

/* ============================================================
   TYPING INDICATOR
   ============================================================ */

.onuris-typing {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 20px 16px;
}

.onuris-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.35);
    animation: onurisTypingDot 1.2s ease-in-out infinite;
}

.onuris-typing-dot:nth-child(1) { animation-delay: 0s; }
.onuris-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.onuris-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes onurisTypingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.onuris-typing-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* ============================================================
   QUICK ACTIONS
   ============================================================ */

.onuris-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 20px 14px;
}

.onuris-action-btn {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.10);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    line-height: 1.3;
}

.onuris-action-btn i {
    font-size: 16px;
    color: #D39D55;
    margin-bottom: 2px;
}

.onuris-action-btn:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.20);
    color: #fff;
    transform: translateY(-2px);
}

.onuris-action-btn:active {
    transform: scale(0.97);
}

/* ============================================================
   INPUT AREA
   ============================================================ */

.onuris-input-container {
    display: flex;
    gap: 10px;
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.onuris-input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.40);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: all 0.25s ease;
}

.onuris-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.onuris-input:focus {
    border-color: rgba(255, 215, 0, 0.25);
    background: rgba(0, 0, 0, 0.55);
}

.onuris-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.onuris-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.15);
    color: #D39D55;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onuris-send-btn i {
    font-size: 16px;
}

.onuris-send-btn:hover {
    background: rgba(255, 215, 0, 0.20);
    border-color: rgba(255, 215, 0, 0.30);
    transform: scale(1.04);
}

.onuris-send-btn:active {
    transform: scale(0.94);
}

/* ============================================================
   ERROR STATE
   ============================================================ */

.onuris-error {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.onuris-error i {
    font-size: 2.5rem;
    color: rgba(255, 215, 0, 0.15);
    margin-bottom: 12px;
    display: block;
}

.onuris-error p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE — ALL BREAKPOINTS
   ============================================================ */

@media (max-width: 768px) {
    .onuris-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .onuris-chat {
        max-height: 300px;
        min-height: 150px;
        padding: 12px 14px;
    }

    .onuris-header {
        padding: 12px 16px;
    }

    .onuris-name {
        font-size: 14px;
    }

    .onuris-message {
        max-width: 96%;
    }

    .onuris-message-bubble {
        font-size: 12px;
        padding: 10px 14px;
    }

    .onuris-input-container {
        padding: 10px 14px 14px;
        gap: 8px;
    }

    .onuris-input {
        font-size: 12px;
        padding: 8px 14px;
    }

    .onuris-send-btn {
        width: 38px;
        height: 38px;
    }

    .onuris-send-btn i {
        font-size: 14px;
    }

    .onuris-action-btn {
        font-size: 10px;
        padding: 8px 6px;
    }

    .onuris-action-btn i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .onuris-actions {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 0 14px 10px;
    }

    .onuris-chat {
        max-height: 240px;
        min-height: 120px;
        padding: 10px 12px;
        gap: 10px;
    }

    .onuris-header {
        padding: 10px 14px;
        gap: 10px;
    }

    .onuris-avatar {
        width: 32px;
        height: 32px;
    }

    .onuris-avatar i {
        font-size: 14px;
    }

    .onuris-name {
        font-size: 13px;
    }

    .onuris-status {
        font-size: 9px;
    }

    .onuris-message-avatar {
        width: 26px;
        height: 26px;
    }

    .onuris-message-avatar i {
        font-size: 11px;
    }

    .onuris-message-bubble {
        font-size: 11px;
        padding: 8px 12px;
        border-radius: 12px;
    }

    .onuris-input-container {
        padding: 8px 12px 12px;
        gap: 6px;
    }

    .onuris-input {
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 30px;
    }

    .onuris-send-btn {
        width: 34px;
        height: 34px;
    }

    .onuris-send-btn i {
        font-size: 12px;
    }

    .onuris-action-btn {
        font-size: 9px;
        padding: 6px 4px;
        gap: 2px;
    }

    .onuris-action-btn i {
        font-size: 12px;
    }

    .onuris-typing {
        padding: 4px 14px 10px;
    }

    .onuris-typing-dot {
        width: 6px;
        height: 6px;
    }

    .onuris-typing-text {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .onuris-actions {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .onuris-chat {
        max-height: 180px;
        min-height: 100px;
        padding: 8px 10px;
        gap: 8px;
    }

    .onuris-message {
        max-width: 98%;
    }

    .onuris-message-bubble {
        font-size: 10px;
        padding: 6px 10px;
        border-radius: 10px;
    }

    .onuris-action-btn {
        font-size: 8px;
        padding: 5px 3px;
    }

    .onuris-action-btn i {
        font-size: 11px;
    }

    .onuris-input {
        font-size: 10px;
        padding: 5px 10px;
    }

    .onuris-send-btn {
        width: 30px;
        height: 30px;
    }

    .onuris-send-btn i {
        font-size: 11px;
    }
}

/* ============================================================
   NEW CHAT BUTTON (Profile Page)
   ============================================================ */

.onuris-new-chat-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 8px;
    line-height: 1;
}

.onuris-new-chat-btn:hover {
    color: #00B894;
    background: rgba(0, 184, 148, 0.1);
}

.onuris-new-chat-btn:active {
    transform: scale(0.9);
}

/* ============================================================
   FULLSCREEN MODE — Profile Page
   ============================================================ */

.onuris-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.onuris-fullscreen-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 8px;
    line-height: 1;
}

.onuris-fullscreen-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
}

.onuris-widget-exit {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    border-radius: 8px;
    line-height: 1;
}

.onuris-widget-exit:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.onuris-panel.onuris-fullscreen {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 200000 !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.onuris-panel.onuris-fullscreen .onuris-container {
    height: 100vh !important;
    display: flex;
    flex-direction: column;
}

.onuris-panel.onuris-fullscreen .onuris-chat {
    max-height: none !important;
    flex: 1;
}

.onuris-panel.onuris-fullscreen .onuris-actions {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.onuris-panel.onuris-fullscreen .onuris-actions .onuris-action-btn {
    font-size: 12px;
    padding: 10px 8px;
}

.onuris-panel.onuris-fullscreen .onuris-actions .onuris-action-btn i {
    font-size: 18px;
}

.onuris-panel.onuris-fullscreen .onuris-input-container input {
    font-size: 15px;
    padding: 12px 18px;
}

.onuris-panel.onuris-fullscreen .onuris-input-container .onuris-send-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

body.onuris-fullscreen-active {
    overflow: hidden;
}

@media (max-width: 480px) {
    .onuris-panel.onuris-fullscreen .onuris-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 10px 14px 14px;
    }
    .onuris-panel.onuris-fullscreen .onuris-actions .onuris-action-btn {
        font-size: 10px;
        padding: 8px 4px;
    }
    .onuris-panel.onuris-fullscreen .onuris-actions .onuris-action-btn i {
        font-size: 16px;
    }
    .onuris-panel.onuris-fullscreen .onuris-input-container {
        padding: 10px 14px 16px;
        gap: 8px;
    }
    .onuris-panel.onuris-fullscreen .onuris-input-container input {
        font-size: 14px;
        padding: 10px 16px;
    }
    .onuris-panel.onuris-fullscreen .onuris-input-container .onuris-send-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .onuris-panel.onuris-fullscreen .onuris-header {
        padding: 14px 16px;
    }
    .onuris-panel.onuris-fullscreen .onuris-header .onuris-name {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .onuris-panel.onuris-fullscreen .onuris-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    .onuris-panel.onuris-fullscreen .onuris-chat {
        padding: 10px 12px;
    }
    .onuris-panel.onuris-fullscreen .onuris-input-container {
        padding: 8px 12px 14px;
    }
    .onuris-panel.onuris-fullscreen .onuris-input-container input {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* ============================================================
   DISABLE BACKGROUND SCROLL — PROFILE FULLSCREEN ONLY
   ============================================================ */

body.onuris-profile-fullscreen {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Allow scrolling inside the chat panel */
body.onuris-profile-fullscreen .onuris-panel.onuris-fullscreen .onuris-chat {
    overflow-y: auto !important;
}

/* Prevent body shift when scroll is disabled */
body.onuris-profile-fullscreen {
    padding-right: 0 !important;
}

/* ============================================================
   ONURIS MARKDOWN STYLES — Tables & Formatting
   ============================================================ */

/* ── Table Styles ── */
.onuris-table-wrapper {
    overflow-x: auto;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid rgba(211, 157, 85, 0.1);
}

.onuris-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}

.onuris-table thead th {
    background: rgba(211, 157, 85, 0.12);
    color: #D39D55;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(211, 157, 85, 0.2);
}

.onuris-table tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
}

.onuris-table tbody tr:last-child td {
    border-bottom: none;
}

.onuris-table tbody tr:hover {
    background: rgba(211, 157, 85, 0.04);
}

/* ── Bold Titles ── */
.onuris-message-bubble strong,
.onuris-widget-msg .msg-bubble strong {
    color: #D39D55;
    font-weight: 700;
    display: block;
    margin: 12px 0 6px 0;
}

.onuris-message-bubble strong:first-child,
.onuris-widget-msg .msg-bubble strong:first-child {
    margin-top: 0;
}

/* ── Lists ── */
.onuris-message-bubble ul,
.onuris-message-bubble ol,
.onuris-widget-msg .msg-bubble ul,
.onuris-widget-msg .msg-bubble ol {
    margin: 8px 0 12px 20px;
    padding-left: 8px;
}

.onuris-message-bubble li,
.onuris-widget-msg .msg-bubble li {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.85);
}

/* ── Paragraphs ── */
.onuris-message-bubble p,
.onuris-widget-msg .msg-bubble p {
    margin: 8px 0;
    line-height: 1.7;
}

.onuris-message-bubble p:first-child,
.onuris-widget-msg .msg-bubble p:first-child {
    margin-top: 0;
}

.onuris-message-bubble p:last-child,
.onuris-widget-msg .msg-bubble p:last-child {
    margin-bottom: 0;
}

/* ── Blockquotes ── */
.onuris-message-bubble blockquote,
.onuris-widget-msg .msg-bubble blockquote {
    border-left: 3px solid #D39D55;
    padding: 8px 16px;
    margin: 12px 0;
    background: rgba(211, 157, 85, 0.04);
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ── Horizontal Rule ── */
.onuris-message-bubble hr,
.onuris-widget-msg .msg-bubble hr {
    border: none;
    border-top: 1px solid rgba(211, 157, 85, 0.1);
    margin: 16px 0;
}

/* ── Responsive Tables ── */
@media (max-width: 480px) {
    .onuris-table {
        font-size: 0.75rem;
    }
    .onuris-table thead th,
    .onuris-table tbody td {
        padding: 6px 10px;
    }
}

/* ============================================================
   HEADINGS — real markdown headers (#, ##, ###)
   ============================================================ */
.onuris-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #D39D55;
    letter-spacing: 0.02em;
    margin: 16px 0 8px 0;
    line-height: 1.3;
}
.onuris-heading:first-child { margin-top: 0; }
.onuris-heading--2 { font-size: 1.05rem; border-bottom: 1px solid rgba(211,157,85,0.15); padding-bottom: 6px; }
.onuris-heading--3 { font-size: 0.95rem; }
.onuris-heading--4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(211,157,85,0.85); }

/* "**Title**"-only paragraphs render as this instead of inline <strong> */
.onuris-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #D39D55;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 14px 0 6px 0;
    display: block;
}
.onuris-section-title:first-child { margin-top: 0; }

/* Table polish */
.onuris-table thead th { font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; }
.onuris-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
.onuris-table { border: 1px solid rgba(211,157,85,0.08); }

/* Bullet indentation refinement */
.onuris-message-bubble ul, .onuris-widget-msg .msg-bubble ul {
    list-style: none;
    padding-left: 4px;
}
.onuris-message-bubble ul li, .onuris-widget-msg .msg-bubble ul li {
    position: relative;
    padding-left: 16px;
}
.onuris-message-bubble ul li::before, .onuris-widget-msg .msg-bubble ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(211,157,85,0.5);
}

/* ============================================================
   ONURIS JUMP TO BOTTOM BUTTON
   ============================================================ */

.onuris-jump-bottom {
    position: absolute;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(211, 157, 85, 0.2);
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #D39D55;
    font-size: 16px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.onuris-jump-bottom:hover {
    background: rgba(211, 157, 85, 0.15);
    border-color: rgba(211, 157, 85, 0.4);
    transform: scale(1.08);
}

.onuris-jump-bottom:active {
    transform: scale(0.92);
}

.onuris-jump-bottom.visible {
    display: flex;
    animation: jumpBottomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes jumpBottomIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.onuris-jump-bottom .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #D39D55;
    color: #0A0F1A;
    font-size: 8px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* ── Fullscreen Mode ── */
.onuris-panel.onuris-fullscreen .onuris-jump-bottom {
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    font-size: 18px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .onuris-jump-bottom {
        bottom: 70px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ============================================================
   CUSTOM CONFIRMATION MODAL (Shared)
   ============================================================ */

.onuris-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.onuris-confirm-overlay.visible {
    opacity: 1;
}

.onuris-confirm-modal {
    background: rgba(10, 15, 26, 0.96);
    border: 1px solid rgba(211, 157, 85, 0.15);
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 24px 28px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.onuris-confirm-overlay.visible .onuris-confirm-modal {
    transform: scale(1) translateY(0);
}

.onuris-confirm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.onuris-confirm-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(211, 157, 85, 0.12);
    border: 1px solid rgba(211, 157, 85, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onuris-confirm-icon i {
    color: #D39D55;
    font-size: 16px;
}

.onuris-confirm-header h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.onuris-confirm-body {
    margin-bottom: 20px;
}

.onuris-confirm-body p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.onuris-confirm-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.onuris-confirm-btn {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.onuris-confirm-cancel {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.onuris-confirm-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.onuris-confirm-ok {
    background: linear-gradient(135deg, rgba(211, 157, 85, 0.25), rgba(211, 157, 85, 0.08));
    color: #D39D55;
    border: 1px solid rgba(211, 157, 85, 0.2);
}

.onuris-confirm-ok:hover {
    background: rgba(211, 157, 85, 0.2);
    border-color: rgba(211, 157, 85, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(211, 157, 85, 0.1);
}

.onuris-confirm-btn:active {
    transform: scale(0.96);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .onuris-confirm-modal {
        padding: 20px;
        max-width: 92%;
    }

    .onuris-confirm-header h4 {
        font-size: 14px;
    }

    .onuris-confirm-body p {
        font-size: 13px;
    }

    .onuris-confirm-btn {
        font-size: 12px;
        padding: 8px 18px;
    }
}