/* ===== CSS Variables ===== */
:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #0e2f44;
    --gold: #d4a017;
    --gold-light: #f0d060;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --bg: #f0f2f5;
    --card-bg: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #dfe6e9;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --radius: 12px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    direction: rtl;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Auth Pages ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 20px;
}

.auth-container { width: 100%; max-width: 420px; }

.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.auth-header i { font-size: 3rem; margin-bottom: 10px; color: var(--gold); }
.auth-header h1 { font-size: 1.5rem; margin-bottom: 5px; }
.auth-header p { opacity: 0.8; font-size: 0.95rem; }

.auth-form { padding: 30px; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.form-group label i { margin-left: 5px; color: var(--primary-light); }

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    direction: ltr;
    text-align: right;
}
.form-group input:focus { outline: none; border-color: var(--primary-light); }

.auth-footer { text-align: center; padding: 0 30px 25px; color: var(--text-light); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-gold { background: var(--gold); color: var(--primary-dark); }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===== Alerts ===== */
.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0 30px 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-error { background: #fde8e8; color: var(--danger); border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: var(--success); border: 1px solid #c3e6cb; }

/* ===== Navbar ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}
.navbar-brand i { color: var(--gold); font-size: 1.5rem; }
.navbar-brand:hover { text-decoration: none; }

.navbar-user {
    display: flex;
    align-items: center;
    gap: 15px;
}
.navbar-user span { font-size: 0.9rem; opacity: 0.9; }
.navbar-user a { color: white; opacity: 0.8; font-size: 0.85rem; }
.navbar-user a:hover { opacity: 1; text-decoration: none; }

/* ===== Main Content ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-3px); }

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-light);
}
.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* ===== Section Headers ===== */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
}
.section-header h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
}
.section-header i { color: var(--gold); font-size: 1.2rem; }

/* ===== Seder Progress ===== */
.seder-progress-list { margin-bottom: 30px; }

.seder-progress-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.seder-name {
    font-weight: 700;
    min-width: 80px;
    color: var(--primary-dark);
}
.seder-bar-container {
    flex: 1;
    background: #ecf0f1;
    border-radius: 20px;
    height: 22px;
    overflow: hidden;
}
.seder-bar {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--gold) 100%);
    transition: width 0.8s ease;
    min-width: 0;
}
.seder-percent {
    min-width: 50px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* ===== Masekhtot Grid ===== */
.masekhtot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.masekhet-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.masekhet-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    text-decoration: none;
}
.masekhet-card.completed {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

.masekhet-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.masekhet-progress {
    margin-top: 10px;
}
.masekhet-bar {
    background: #ecf0f1;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}
.masekhet-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--success) 100%);
    transition: width 0.6s ease;
}
.masekhet-stats {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Daf Grid (masekhet page) ===== */
.masekhet-header {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.masekhet-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.masekhet-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.daf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    margin-bottom: 30px;
}

.daf-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 8px;
    border: 2px solid var(--border);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    color: var(--text);
}
.daf-cell:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.daf-cell.learned {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-color: var(--primary);
}
.daf-cell.learned:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* ===== Recent Activity ===== */
.activity-list {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.activity-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: #f8f9fa; }

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.activity-text { font-size: 0.9rem; flex: 1; }
.activity-text strong { color: var(--primary-dark); }
.activity-date { font-size: 0.8rem; color: var(--text-light); white-space: nowrap; }

/* ===== Back Link ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--primary-light);
    font-weight: 600;
}
.back-link:hover { text-decoration: none; color: var(--primary); }

/* ===== Siyum Celebration ===== */
.siyum-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.5s;
}
.siyum-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: scaleIn 0.5s;
}
.siyum-card h2 { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.siyum-card p { color: var(--text); margin-bottom: 20px; }
.siyum-card .siyum-icon { font-size: 4rem; color: var(--gold); margin-bottom: 15px; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center; padding: 40px; color: var(--text-light);
}
.empty-state i { font-size: 3rem; margin-bottom: 15px; opacity: 0.5; }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar { padding: 10px 15px; }
    .main-content { padding: 15px 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .masekhtot-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .daf-grid { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 5px; }
    .daf-cell { font-size: 0.9rem; }
    .masekhet-header { flex-direction: column; text-align: center; }
    .seder-progress-item { flex-wrap: wrap; }
    .seder-name { min-width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card .stat-number { font-size: 1.5rem; }
    .masekhtot-grid { grid-template-columns: repeat(2, 1fr); }
    .daf-grid { grid-template-columns: repeat(auto-fill, minmax(45px, 1fr)); }
}

/* ===== Multi-Learn Levels ===== */
.daf-cell { position: relative; }

.daf-cell.learned-1 {
    background: linear-gradient(135deg, #5dade2 0%, #85c1e9 100%);
    color: white;
    border-color: #5dade2;
}
.daf-cell.learned-2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-color: var(--primary);
}
.daf-cell.learned-3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: 0 0 8px rgba(26, 82, 118, 0.4);
}

.daf-cell .daf-label { font-size: 1rem; }
.daf-cell .daf-count {
    position: absolute;
    top: 2px;
    left: 2px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 0.6rem;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===== Legend ===== */
.daf-legend {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.85rem;
    color: var(--text);
}

.legend-item { display: flex; align-items: center; gap: 6px; }

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--border);
    background: var(--card-bg);
    display: inline-block;
}
.legend-box.learned-1 {
    background: linear-gradient(135deg, #5dade2 0%, #85c1e9 100%);
    border-color: #5dade2;
}
.legend-box.learned-2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
}
.legend-box.learned-3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
}

.legend-hint {
    margin-right: auto;
    color: var(--text-light);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .daf-legend { gap: 10px; font-size: 0.8rem; }
    .legend-hint { width: 100%; margin-right: 0; text-align: center; }
    .daf-cell .daf-count { width: 14px; height: 14px; font-size: 0.55rem; }
}


/* ===== Mark All Panel ===== */
.mark-all-panel {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--gold);
}
.mark-all-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}
.mark-all-title i { color: var(--gold); margin-left: 8px; }
.mark-all-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-mark-cycle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.btn-mark-cycle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-cycle-1 {
    background: linear-gradient(135deg, #5dade2, #85c1e9);
    border-color: #5dade2;
    color: white;
}
.btn-cycle-1:hover { background: linear-gradient(135deg, #4a9cd4, #5dade2); }
.btn-cycle-2 {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
}
.btn-cycle-2:hover { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.btn-cycle-3 {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: var(--primary-dark);
    color: white;
}
.btn-cycle-3:hover { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.cycle-progress {
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mark-all-buttons { flex-direction: column; }
    .btn-mark-cycle { width: 100%; justify-content: center; }
}

/* ==================== DAF CHAT ==================== */

/* Chat badge on daf cells */
.daf-chat-badge {
    position: absolute;
    bottom: 2px;
    left: 2px;
    font-size: 0.7em;
    color: #90a4ae;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s, transform 0.2s;
    z-index: 2;
    line-height: 1;
}
.daf-cell {
    position: relative;
}
.daf-cell:hover .daf-chat-badge {
    opacity: 1;
    transform: scale(1.2);
}
.daf-chat-badge.has-messages {
    opacity: 1;
    color: #2196F3;
}
.daf-chat-badge sup {
    font-size: 0.85em;
    color: #e53935;
    font-weight: bold;
    margin-right: 1px;
}
.daf-chat-badge:hover {
    color: #1565C0 !important;
    transform: scale(1.3);
}

/* Chat slide-out panel */
.daf-chat-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    max-width: 95vw;
    height: 100vh;
    background: #fff;
    box-shadow: 4px 0 24px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    animation: chatSlideIn 0.3s ease;
    border-right: 3px solid var(--primary, #1565C0);
}
@keyframes chatSlideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.daf-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    flex-shrink: 0;
}
.daf-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.daf-chat-close:hover {
    opacity: 1;
}

.daf-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f5f7fa;
    direction: rtl;
}

/* Chat message bubbles */
.chat-msg {
    display: flex;
    margin-bottom: 10px;
}
.chat-msg.mine {
    justify-content: flex-end;
}
.chat-msg.other {
    justify-content: flex-start;
}

.chat-bubble-shas {
    max-width: 80%;
    padding: 8px 14px;
    border-radius: 16px;
    word-break: break-word;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chat-bubble-shas.mine {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-bottom-right-radius: 4px;
    color: #0d47a1;
}
.chat-bubble-shas.other {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
    color: #333;
}

.chat-sender {
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 3px;
    color: #555;
}
.chat-time {
    font-weight: normal;
    color: #999;
    font-size: 0.9em;
    margin-right: 6px;
}
.chat-body {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Chat input form */
.daf-chat-form {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.daf-chat-form textarea {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.95em;
    resize: none;
    min-height: 38px;
    max-height: 100px;
    outline: none;
    font-family: inherit;
    direction: rtl;
}
.daf-chat-form textarea:focus {
    border-color: #1976D2;
    box-shadow: 0 0 0 2px rgba(25,118,210,0.15);
}
.daf-chat-send {
    background: #1976D2;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.daf-chat-send:hover {
    background: #1565C0;
}

/* Overlay behind chat panel on mobile */
@media (max-width: 500px) {
    .daf-chat-panel {
        width: 100vw;
    }
}

/* Scrollbar for chat */
.daf-chat-messages::-webkit-scrollbar {
    width: 6px;
}
.daf-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.daf-chat-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* ==================== CHAT TUTORIAL ==================== */
#chat-tutorial-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    direction: rtl;
}
.chat-tutorial-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    max-width: 420px;
    width: 90vw;
    overflow: hidden;
    animation: tutorialPop 0.4s ease;
}
@keyframes tutorialPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.chat-tutorial-header {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: #fff;
    padding: 20px 24px;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}
.chat-tutorial-header i {
    margin-left: 8px;
    font-size: 1.1em;
}
.chat-tutorial-body {
    padding: 20px 24px;
}
.chat-tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05em;
    line-height: 1.5;
}
.chat-tutorial-num {
    background: #e3f2fd;
    color: #1565C0;
    font-weight: bold;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    flex-shrink: 0;
}
.chat-tutorial-btn {
    display: block;
    width: calc(100% - 48px);
    margin: 0 24px 20px;
    padding: 12px;
    background: linear-gradient(135deg, #1565C0, #42a5f5);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.chat-tutorial-btn:hover {
    background: linear-gradient(135deg, #0d47a1, #1976D2);
    transform: scale(1.02);
}
.chat-tutorial-btn i {
    margin-right: 6px;
}
