/* _content/educcms-app/Components/Features/Admin/Components/VisualPageBuilder.razor.rz.scp.css */
/* Visual Page Builder Styles */
.visual-builder[b-pyn6bvhrrf] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px;
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.visual-builder.fullscreen[b-pyn6bvhrrf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    border-radius: 0;
}

/* Toolbar */
.vb-toolbar[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #2d2d3f;
    border-bottom: 1px solid #3d3d5c;
}

.vb-toolbar-left[b-pyn6bvhrrf],
.vb-toolbar-center[b-pyn6bvhrrf],
.vb-toolbar-right[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vb-btn[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #a0a0b0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.vb-btn:hover:not(:disabled)[b-pyn6bvhrrf] {
    background: #3d3d5c;
    color: #fff;
}

.vb-btn:disabled[b-pyn6bvhrrf] {
    opacity: 0.4;
    cursor: not-allowed;
}

.vb-btn.active[b-pyn6bvhrrf] {
    background: #6366f1;
    color: #fff;
}

.vb-divider[b-pyn6bvhrrf] {
    width: 1px;
    height: 24px;
    background: #3d3d5c;
    margin: 0 4px;
}

.vb-info[b-pyn6bvhrrf] {
    font-size: 12px;
    color: #707080;
}

.vb-device-switcher[b-pyn6bvhrrf] {
    display: flex;
    background: #1e1e2e;
    border-radius: 8px;
    padding: 2px;
}

.vb-device-switcher .vb-btn[b-pyn6bvhrrf] {
    width: 32px;
    height: 32px;
}

/* Main Layout */
.vb-main[b-pyn6bvhrrf] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.vb-sidebar[b-pyn6bvhrrf] {
    width: 260px;
    background: #252536;
    border-right: 1px solid #3d3d5c;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, width 0.3s;
}

.vb-sidebar:not(.open)[b-pyn6bvhrrf] {
    width: 0;
    transform: translateX(-260px);
}

.vb-sidebar-header[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #3d3d5c;
}

.vb-sidebar-header h6[b-pyn6bvhrrf] {
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.vb-btn-close[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #a0a0b0;
    border-radius: 6px;
    cursor: pointer;
}

.vb-btn-close:hover[b-pyn6bvhrrf] {
    background: #3d3d5c;
    color: #fff;
}

.vb-sidebar-content[b-pyn6bvhrrf] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.vb-block-category[b-pyn6bvhrrf] {
    margin-bottom: 20px;
}

.vb-category-title[b-pyn6bvhrrf] {
    font-size: 11px;
    font-weight: 600;
    color: #707080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.vb-block-grid[b-pyn6bvhrrf] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.vb-block-item[b-pyn6bvhrrf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #2d2d3f;
    border: 1px solid #3d3d5c;
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s;
}

.vb-block-item:hover[b-pyn6bvhrrf] {
    background: #3d3d5c;
    border-color: #6366f1;
    transform: translateY(-2px);
}

.vb-block-item:active[b-pyn6bvhrrf] {
    cursor: grabbing;
}

.vb-block-icon[b-pyn6bvhrrf] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e1e2e;
    border-radius: 8px;
    margin-bottom: 6px;
    color: #6366f1;
    font-size: 18px;
}

.vb-block-item span[b-pyn6bvhrrf] {
    font-size: 11px;
    color: #a0a0b0;
    text-align: center;
}

/* Canvas */
.vb-canvas-wrapper[b-pyn6bvhrrf] {
    flex: 1;
    overflow: auto;
    padding: 24px;
    background: #1a1a2e;
}

.vb-canvas[b-pyn6bvhrrf] {
    min-height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: max-width 0.3s;
    margin: 0 auto;
}

.vb-canvas.vb-desktop[b-pyn6bvhrrf] {
    max-width: 100%;
}

.vb-canvas.vb-tablet[b-pyn6bvhrrf] {
    max-width: 768px;
}

.vb-canvas.vb-mobile[b-pyn6bvhrrf] {
    max-width: 375px;
}

/* Empty Canvas */
.vb-empty-canvas[b-pyn6bvhrrf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px dashed #ddd;
    border-radius: 8px;
    margin: 16px;
}

.vb-empty-canvas:hover[b-pyn6bvhrrf] {
    background: #f8f9fa;
    border-color: #6366f1;
}

.vb-empty-icon[b-pyn6bvhrrf] {
    font-size: 48px;
    color: #6366f1;
    margin-bottom: 16px;
}

.vb-empty-canvas h5[b-pyn6bvhrrf] {
    margin: 0 0 8px;
    color: #333;
}

.vb-empty-canvas p[b-pyn6bvhrrf] {
    margin: 0;
    color: #888;
}

/* Rows */
.vb-row[b-pyn6bvhrrf] {
    position: relative;
    padding: 16px;
    margin: 8px;
    border: 2px dashed transparent;
    border-radius: 8px;
    transition: all 0.2s;
}

.vb-row:hover[b-pyn6bvhrrf] {
    border-color: #e0e0e0;
}

.vb-row.selected[b-pyn6bvhrrf] {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.03);
}

.vb-row.drag-over[b-pyn6bvhrrf] {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

/* Row Controls */
.vb-row-controls[b-pyn6bvhrrf] {
    position: absolute;
    top: -12px;
    right: 16px;
    display: flex;
    gap: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vb-row-controls.visible[b-pyn6bvhrrf],
.vb-row:hover .vb-row-controls[b-pyn6bvhrrf] {
    opacity: 1;
    visibility: visible;
}

.vb-control-btn[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.vb-control-btn:hover:not(:disabled)[b-pyn6bvhrrf] {
    background: #f0f0f0;
    color: #333;
}

.vb-control-btn:disabled[b-pyn6bvhrrf] {
    opacity: 0.3;
    cursor: not-allowed;
}

.vb-control-btn.danger:hover:not(:disabled)[b-pyn6bvhrrf] {
    background: #fee2e2;
    color: #dc2626;
}

/* Columns */
.vb-columns[b-pyn6bvhrrf] {
    display: flex;
    gap: 16px;
}

.vb-column[b-pyn6bvhrrf] {
    position: relative;
    min-height: 80px;
    background: #fafafa;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s;
}

.vb-column:hover[b-pyn6bvhrrf] {
    border-color: #c0c0c0;
}

.vb-column.selected[b-pyn6bvhrrf] {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.03);
}

.vb-column-empty[b-pyn6bvhrrf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    color: #aaa;
    font-size: 13px;
}

.vb-column-empty i[b-pyn6bvhrrf] {
    font-size: 24px;
    margin-bottom: 4px;
}

.vb-column-empty.drag-over[b-pyn6bvhrrf] {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* Resize Handle */
.vb-resize-handle[b-pyn6bvhrrf] {
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 20px;
    cursor: col-resize;
    z-index: 5;
}

.vb-resize-handle[b-pyn6bvhrrf]::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 40px;
    background: #ddd;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.vb-resize-handle:hover[b-pyn6bvhrrf]::after {
    opacity: 1;
    background: #6366f1;
}

/* Blocks */
.vb-block[b-pyn6bvhrrf] {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s;
    cursor: grab;
}

.vb-block:hover[b-pyn6bvhrrf] {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.vb-block.selected[b-pyn6bvhrrf] {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.vb-block:active[b-pyn6bvhrrf] {
    cursor: grabbing;
}

/* Block Controls */
.vb-block-controls[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.vb-block:hover .vb-block-controls[b-pyn6bvhrrf],
.vb-block.selected .vb-block-controls[b-pyn6bvhrrf] {
    opacity: 1;
}

.vb-block-type[b-pyn6bvhrrf] {
    font-size: 11px;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
}

.vb-block-actions[b-pyn6bvhrrf] {
    display: flex;
    gap: 2px;
}

.vb-block-actions button[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #888;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.vb-block-actions button:hover:not(:disabled)[b-pyn6bvhrrf] {
    background: #e0e0e0;
    color: #333;
}

.vb-block-actions button:disabled[b-pyn6bvhrrf] {
    opacity: 0.3;
    cursor: not-allowed;
}

.vb-block-actions button.danger:hover:not(:disabled)[b-pyn6bvhrrf] {
    background: #fee2e2;
    color: #dc2626;
}

/* Block Content */
.vb-block-content[b-pyn6bvhrrf] {
    padding: 12px;
}

.vb-block-content [contenteditable="true"][b-pyn6bvhrrf] {
    outline: none;
    border-radius: 4px;
    padding: 4px;
    transition: background 0.2s;
}

.vb-block-content [contenteditable="true"]:focus[b-pyn6bvhrrf] {
    background: #f0f7ff;
}

.vb-block-content [contenteditable="true"]:hover:not(:focus)[b-pyn6bvhrrf] {
    background: #fafafa;
}

/* Block Type Previews */
.vb-text-block[b-pyn6bvhrrf] {
    min-height: 40px;
}

.vb-heading-block[b-pyn6bvhrrf] {
    margin: 0;
}

.vb-image-block[b-pyn6bvhrrf] {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.vb-image-placeholder[b-pyn6bvhrrf],
.vb-video-placeholder[b-pyn6bvhrrf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #888;
}

.vb-image-placeholder i[b-pyn6bvhrrf],
.vb-video-placeholder i[b-pyn6bvhrrf] {
    font-size: 32px;
    margin-bottom: 8px;
}

.vb-divider-preview[b-pyn6bvhrrf] {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 16px 0;
}

.vb-spacer-preview[b-pyn6bvhrrf] {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        #f0f0f0 5px,
        #f0f0f0 10px
    );
    border-radius: 4px;
}

.vb-icon-block[b-pyn6bvhrrf] {
    text-align: center;
    color: #6366f1;
}

.vb-quote-block[b-pyn6bvhrrf] {
    border-left: 4px solid #6366f1;
    padding-left: 16px;
    margin: 0;
    font-style: italic;
    color: #555;
}

.vb-quote-block footer[b-pyn6bvhrrf] {
    font-style: normal;
    font-size: 14px;
    color: #888;
    margin-top: 8px;
}

.vb-list-block[b-pyn6bvhrrf] {
    margin: 0;
    padding-left: 24px;
}

.vb-card-block[b-pyn6bvhrrf] {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.vb-card-icon[b-pyn6bvhrrf] {
    font-size: 32px;
    color: #6366f1;
    margin-bottom: 12px;
}

.vb-card-block h5[b-pyn6bvhrrf] {
    margin: 0 0 8px;
}

.vb-card-block p[b-pyn6bvhrrf] {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Add Row Between */
.vb-add-row-between[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    opacity: 0;
    transition: opacity 0.2s;
}

.vb-canvas:hover .vb-add-row-between[b-pyn6bvhrrf] {
    opacity: 1;
}

.vb-add-row-line[b-pyn6bvhrrf] {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
}

.vb-add-row-btn[b-pyn6bvhrrf] {
    width: 28px;
    height: 28px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 8px;
}

.vb-add-row-btn:hover[b-pyn6bvhrrf] {
    border-color: #6366f1;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

/* Properties Panel */
.vb-properties[b-pyn6bvhrrf] {
    width: 280px;
    background: #252536;
    border-left: 1px solid #3d3d5c;
    display: flex;
    flex-direction: column;
}

.vb-properties-header[b-pyn6bvhrrf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #3d3d5c;
}

.vb-properties-header h6[b-pyn6bvhrrf] {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.vb-properties-content[b-pyn6bvhrrf] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.vb-prop-group[b-pyn6bvhrrf] {
    margin-bottom: 16px;
}

.vb-prop-group label[b-pyn6bvhrrf] {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #a0a0b0;
    margin-bottom: 6px;
}

.vb-prop-group .form-control[b-pyn6bvhrrf],
.vb-prop-group .form-select[b-pyn6bvhrrf] {
    background: #1e1e2e;
    border: 1px solid #3d3d5c;
    color: #fff;
    font-size: 13px;
}

.vb-prop-group .form-control:focus[b-pyn6bvhrrf],
.vb-prop-group .form-select:focus[b-pyn6bvhrrf] {
    background: #1e1e2e;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    color: #fff;
}

.vb-prop-group .form-control[b-pyn6bvhrrf]::placeholder {
    color: #505060;
}

.vb-prop-group .form-check-input[b-pyn6bvhrrf] {
    background-color: #1e1e2e;
    border-color: #3d3d5c;
}

.vb-prop-group .form-check-input:checked[b-pyn6bvhrrf] {
    background-color: #6366f1;
    border-color: #6366f1;
}

.vb-prop-group .form-check-label[b-pyn6bvhrrf] {
    color: #a0a0b0;
    font-size: 13px;
}

.vb-prop-group .text-muted[b-pyn6bvhrrf] {
    color: #606070 !important;
    font-size: 11px;
}

.vb-prop-group .form-range[b-pyn6bvhrrf] {
    accent-color: #6366f1;
}

/* Scrollbar */
.vb-sidebar-content[b-pyn6bvhrrf]::-webkit-scrollbar,
.vb-canvas-wrapper[b-pyn6bvhrrf]::-webkit-scrollbar,
.vb-properties-content[b-pyn6bvhrrf]::-webkit-scrollbar {
    width: 6px;
}

.vb-sidebar-content[b-pyn6bvhrrf]::-webkit-scrollbar-track,
.vb-canvas-wrapper[b-pyn6bvhrrf]::-webkit-scrollbar-track,
.vb-properties-content[b-pyn6bvhrrf]::-webkit-scrollbar-track {
    background: transparent;
}

.vb-sidebar-content[b-pyn6bvhrrf]::-webkit-scrollbar-thumb,
.vb-properties-content[b-pyn6bvhrrf]::-webkit-scrollbar-thumb {
    background: #3d3d5c;
    border-radius: 3px;
}

.vb-canvas-wrapper[b-pyn6bvhrrf]::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
/* _content/educcms-app/Components/Shared/Components/AiWidget.razor.rz.scp.css */
/* ============================================
   AI ASISTAN WIDGET STİLLERİ
   K12 Bilişim - WhatsApp/ChatGPT Tarzı Modern Chat
   Scoped CSS for AiWidget.razor
   ============================================ */

/* Ana Container - Sağ alt köşede sabit (Yukarı Çık butonunun solunda) */
.ai-widget-container[b-90b5x83ik6] {
    position: fixed;
    bottom: 24px;
    right: 90px;
    z-index: 9999;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== ROBOT BUTON ===== */
.ai-robot-btn[b-90b5x83ik6] {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    animation: breathe-b-90b5x83ik6 2.5s ease-in-out infinite;
}

@keyframes breathe-b-90b5x83ik6 {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
    }
}

.ai-robot-btn:hover[b-90b5x83ik6] {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(99, 102, 241, 0.5);
}

.ai-robot-btn:active[b-90b5x83ik6] {
    transform: scale(0.95);
}

.ai-robot-btn.ai-robot-btn-active[b-90b5x83ik6] {
    background-color: #dc3545;
    animation: none;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
}

.ai-robot-btn.ai-robot-btn-active:hover[b-90b5x83ik6] {
    background-color: #c82333;
    box-shadow: 0 6px 30px rgba(220, 53, 69, 0.5);
}

.ai-robot-face[b-90b5x83ik6] {
    width: 32px;
    height: 32px;
    z-index: 2;
}

.ai-robot-face svg[b-90b5x83ik6] {
    width: 100%;
    height: 100%;
}

/* ===== NABIZ HALKALARI ===== */
.ai-pulse-ring[b-90b5x83ik6] {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #6366f1;
    opacity: 0;
    z-index: 1;
}

.ai-pulse-ring-1[b-90b5x83ik6] { animation: pulseRing-b-90b5x83ik6 2.5s ease-out infinite; }
.ai-pulse-ring-2[b-90b5x83ik6] { animation: pulseRing-b-90b5x83ik6 2.5s ease-out infinite 0.6s; }
.ai-pulse-ring-3[b-90b5x83ik6] { animation: pulseRing-b-90b5x83ik6 2.5s ease-out infinite 1.2s; }

@keyframes pulseRing-b-90b5x83ik6 {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.ai-robot-btn-active .ai-pulse-ring[b-90b5x83ik6] {
    display: none;
}

/* ===== SOHBET PENCERESİ ===== */
.ai-chat-window[b-90b5x83ik6] {
    position: absolute;
    bottom: 80px;
    right: -60px;
    width: 380px;
    height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp-b-90b5x83ik6 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
}

@keyframes slideUp-b-90b5x83ik6 {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== HEADER - WhatsApp Tarzı ===== */
.ai-chat-header[b-90b5x83ik6] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.ai-chat-title[b-90b5x83ik6] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-header-robot[b-90b5x83ik6] {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.ai-header-robot svg[b-90b5x83ik6] {
    width: 100%;
    height: 100%;
}

.ai-header-info[b-90b5x83ik6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-header-name[b-90b5x83ik6] {
    font-weight: 600;
    font-size: 15px;
}

.ai-header-status[b-90b5x83ik6] {
    font-size: 12px;
    opacity: 0.9;
}

.ai-header-status .typing-status[b-90b5x83ik6] {
    animation: blink-b-90b5x83ik6 1s infinite;
}

@keyframes blink-b-90b5x83ik6 {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.ai-close-btn[b-90b5x83ik6] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ai-close-btn:hover[b-90b5x83ik6] {
    background: rgba(255, 255, 255, 0.3);
}

.ai-close-btn svg[b-90b5x83ik6] {
    width: 18px;
    height: 18px;
}

/* ===== BODY - Mesaj Alanı ===== */
.ai-chat-body[b-90b5x83ik6] {
    flex: 1;
    padding: 16px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4ccc4' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== MESAJ BALONLARI - WhatsApp Tarzı ===== */
.ai-message[b-90b5x83ik6] {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: messageIn-b-90b5x83ik6 0.3s ease-out;
}

@keyframes messageIn-b-90b5x83ik6 {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message-bot[b-90b5x83ik6] {
    align-self: flex-start;
}

.ai-message-user[b-90b5x83ik6] {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message-avatar[b-90b5x83ik6] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-end;
}

.ai-message-avatar svg[b-90b5x83ik6] {
    width: 18px;
    height: 18px;
}

.ai-message-user .ai-message-avatar[b-90b5x83ik6] {
    display: none;
}

/* Mesaj Balonu */
.ai-message-bubble[b-90b5x83ik6] {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ai-message-bubble p[b-90b5x83ik6] {
    margin: 0;
}

/* Bot Mesajı - Sol, Gri */
.ai-message-bot .ai-message-bubble[b-90b5x83ik6] {
    background: white;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
}

/* Kullanıcı Mesajı - Sağ, Mor */
.ai-message-user .ai-message-bubble[b-90b5x83ik6] {
    background: #6366f1;
    color: white;
    border-bottom-right-radius: 4px;
}

/* Mesaj Zamanı */
.ai-message-time[b-90b5x83ik6] {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
    text-align: right;
}

.ai-message-user .ai-message-time[b-90b5x83ik6] {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== YAZIYOR ANİMASYONU ===== */
.ai-typing-bubble[b-90b5x83ik6] {
    padding: 12px 18px;
}

.typing-dots[b-90b5x83ik6] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span[b-90b5x83ik6] {
    width: 8px;
    height: 8px;
    background: #90949c;
    border-radius: 50%;
    animation: typingBounce-b-90b5x83ik6 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1)[b-90b5x83ik6] { animation-delay: -0.32s; }
.typing-dots span:nth-child(2)[b-90b5x83ik6] { animation-delay: -0.16s; }
.typing-dots span:nth-child(3)[b-90b5x83ik6] { animation-delay: 0s; }

@keyframes typingBounce-b-90b5x83ik6 {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== FOOTER - Input Alanı ===== */
.ai-chat-footer[b-90b5x83ik6] {
    padding: 12px 16px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    flex-shrink: 0;
}

.ai-input-wrapper[b-90b5x83ik6] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ai-input[b-90b5x83ik6] {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 15px;
    outline: none;
    background: #fff;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ai-input:focus[b-90b5x83ik6] {
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.ai-input[b-90b5x83ik6]::placeholder {
    color: #999;
}

.ai-input:disabled[b-90b5x83ik6] {
    background: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

.ai-send-btn[b-90b5x83ik6] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #6366f1;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ai-send-btn:hover:not(:disabled)[b-90b5x83ik6] {
    background: #4f46e5;
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.ai-send-btn:active:not(:disabled)[b-90b5x83ik6] {
    transform: scale(0.95);
}

.ai-send-btn:disabled[b-90b5x83ik6] {
    background: #ccc;
    cursor: not-allowed;
}

.ai-send-btn svg[b-90b5x83ik6] {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

/* ===== MOBİL UYUMLULUK ===== */
@media (max-width: 480px) {
    .ai-widget-container[b-90b5x83ik6] {
        bottom: 16px;
        right: 80px;
    }

    .ai-chat-window[b-90b5x83ik6] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: none;
    }

    .ai-robot-btn[b-90b5x83ik6] {
        width: 56px;
        height: 56px;
    }

    .ai-robot-face[b-90b5x83ik6] {
        width: 28px;
        height: 28px;
    }
}
/* _content/educcms-app/Components/Shared/Components/BottomSheet.razor.rz.scp.css */
/* ============================================
   BOTTOM SHEET (ALTTAN AÇILAN MODAL) STİLLERİ
   Tekrar kullanılabilir, koyu tema
   Scoped CSS for BottomSheet.razor
   ============================================ */

/* Arka Plan Overlay */
.bottom-sheet-overlay[b-4rpq21ifor] {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9990;
    /* Kapalıyken tamamen gizle */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bottom-sheet-overlay.active[b-4rpq21ifor] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ana Panel - Mobil (Varsayılan) */
.bottom-sheet[b-4rpq21ifor] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    background: linear-gradient(180deg, #1e2433 0%, #151a28 100%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.6);
    z-index: 9995;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Kapalıyken aşağıda gizle */
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s ease;
}

.bottom-sheet.active[b-4rpq21ifor] {
    transform: translateY(0);
    visibility: visible;
}

/* Tutaç (Drag Handle) */
.bottom-sheet-handle[b-4rpq21ifor] {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 12px auto 0 auto;
    cursor: pointer;
    transition: background 0.2s;
}

.bottom-sheet-handle:hover[b-4rpq21ifor] {
    background: rgba(255, 255, 255, 0.4);
}

/* Header */
.bottom-sheet-header[b-4rpq21ifor] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.bottom-sheet-title[b-4rpq21ifor] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.bottom-sheet-close-icon[b-4rpq21ifor] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.bottom-sheet-close-icon:hover[b-4rpq21ifor] {
    background: rgba(255, 255, 255, 0.2);
}

.bottom-sheet-close-icon svg[b-4rpq21ifor] {
    width: 18px;
    height: 18px;
}

/* İçerik Alanı */
.bottom-sheet-content[b-4rpq21ifor] {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    color: #c0c5d0;
    font-size: 15px;
    line-height: 1.7;
}

.bottom-sheet-content h3[b-4rpq21ifor],
.bottom-sheet-content h4[b-4rpq21ifor] {
    color: #fff;
    margin-top: 0;
}

.bottom-sheet-content ul[b-4rpq21ifor] {
    padding-left: 20px;
    margin: 16px 0;
}

.bottom-sheet-content li[b-4rpq21ifor] {
    margin-bottom: 10px;
}

.bottom-sheet-content a[b-4rpq21ifor] {
    color: #6366f1;
    text-decoration: none;
}

.bottom-sheet-content a:hover[b-4rpq21ifor] {
    text-decoration: underline;
}

/* Footer */
.bottom-sheet-footer[b-4rpq21ifor] {
    padding: 16px 24px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.bottom-sheet-close-btn[b-4rpq21ifor] {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.bottom-sheet-close-btn:hover[b-4rpq21ifor] {
    background: rgba(255, 255, 255, 0.15);
}

/* Altın Sarısı Buton Varyantı */
.bottom-sheet-btn-gold[b-4rpq21ifor] {
    background: transparent;
    border: 1px solid #cfaa56;
    color: #cfaa56;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.bottom-sheet-btn-gold:hover[b-4rpq21ifor] {
    background: #cfaa56;
    color: #0b0f19;
}

/* Primary Buton */
.bottom-sheet-btn-primary[b-4rpq21ifor] {
    background: #6366f1;
    border: none;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.bottom-sheet-btn-primary:hover[b-4rpq21ifor] {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) {
    .bottom-sheet[b-4rpq21ifor] {
        left: 50%;
        right: auto;
        width: 90%;
        max-width: 650px;
        max-height: 85vh;
        transform: translateX(-50%) translateY(100%);
        border-radius: 24px 24px 0 0;
    }

    .bottom-sheet.active[b-4rpq21ifor] {
        transform: translateX(-50%) translateY(0);
    }

    .bottom-sheet-content[b-4rpq21ifor] {
        padding: 24px 32px;
    }

    .bottom-sheet-title[b-4rpq21ifor] {
        font-size: 24px;
    }
}

/* ===== MASAÜSTÜ (1024px+) - GENİŞ GÖRÜNÜM ===== */
@media (min-width: 1024px) {
    .bottom-sheet[b-4rpq21ifor] {
        width: 80%;
        max-width: 900px;
        max-height: 80vh;
    }

    .bottom-sheet-content[b-4rpq21ifor] {
        padding: 32px 56px;
        font-size: 16px;
        line-height: 1.85;
    }

    .bottom-sheet-header[b-4rpq21ifor] {
        padding: 28px 56px 24px 56px;
    }

    .bottom-sheet-title[b-4rpq21ifor] {
        font-size: 26px;
    }

    .bottom-sheet-footer[b-4rpq21ifor] {
        padding: 24px 56px;
    }

    .bottom-sheet-handle[b-4rpq21ifor] {
        width: 50px;
        height: 5px;
        margin: 16px auto 0 auto;
    }
}

/* ===== BÜYÜK EKRANLAR (1280px+) ===== */
@media (min-width: 1280px) {
    .bottom-sheet[b-4rpq21ifor] {
        width: 75%;
        max-width: 1000px;
    }

    .bottom-sheet-content[b-4rpq21ifor] {
        padding: 36px 64px;
    }

    .bottom-sheet-header[b-4rpq21ifor] {
        padding: 32px 64px 24px 64px;
    }

    .bottom-sheet-title[b-4rpq21ifor] {
        font-size: 28px;
    }

    .bottom-sheet-footer[b-4rpq21ifor] {
        padding: 28px 64px;
    }
}

/* ===== ÇOK BÜYÜK EKRANLAR (1600px+) ===== */
@media (min-width: 1600px) {
    .bottom-sheet[b-4rpq21ifor] {
        width: 65%;
        max-width: 1100px;
    }
}
/* _content/educcms-app/Components/Shared/Components/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-41io0s96a6] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-41io0s96a6] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-41io0s96a6] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-41io0s96a6] {
    font-size: 1.1rem;
}

.bi[b-41io0s96a6] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-41io0s96a6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-41io0s96a6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-41io0s96a6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-41io0s96a6] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-41io0s96a6] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-41io0s96a6] {
        padding-bottom: 1rem;
    }

    .nav-item[b-41io0s96a6]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-41io0s96a6]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-41io0s96a6]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-41io0s96a6] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-41io0s96a6] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-41io0s96a6] {
        display: none;
    }

    .nav-scrollable[b-41io0s96a6] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/educcms-app/Components/Shared/Layout/MainLayout.razor.rz.scp.css */
.page[b-vx36xrs1rd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-vx36xrs1rd] {
    flex: 1;
}

.sidebar[b-vx36xrs1rd] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-vx36xrs1rd] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-vx36xrs1rd]  a, .top-row[b-vx36xrs1rd]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-vx36xrs1rd]  a:hover, .top-row[b-vx36xrs1rd]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-vx36xrs1rd]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-vx36xrs1rd] {
        justify-content: space-between;
    }

    .top-row[b-vx36xrs1rd]  a, .top-row[b-vx36xrs1rd]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-vx36xrs1rd] {
        flex-direction: row;
    }

    .sidebar[b-vx36xrs1rd] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-vx36xrs1rd] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-vx36xrs1rd]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vx36xrs1rd], article[b-vx36xrs1rd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-vx36xrs1rd] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-vx36xrs1rd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* NAVBAR CUSTOM STYLES                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Navbar Logo */
.navbar-logo[b-vx36xrs1rd] {
    height: 36px;
    width: auto;
}

/* Clickable nav-link without href */
.nav-link-clickable[b-vx36xrs1rd] {
    cursor: pointer;
}
