/* AI Assistant Specific Styles */

/* Upgrade Button */
.upgrade-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    margin: 0 12px 12px;
    background: linear-gradient(135deg, #b59c61, #d4af37);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.upgrade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 156, 97, 0.3);
}

.upgrade-card i {
    font-size: 16px;
}

/* Header - Same as dashboard */
.header {
    background: white;
    padding: 16px 32px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-bar {
    position: relative;
    width: 400px;
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    background: #f8f9fa;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    border-color: #b59c61;
    background: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 14px;
}

.notification {
    position: relative;
    padding: 8px;
    cursor: pointer;
}

.notification i {
    font-size: 18px;
    color: #718096;
}

.profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.profile img {
    width: 36px;
    height: 36px;
    border-radius: 3px;
    object-fit: cover;
}

.profile span {
    font-weight: 500;
    color: #2d3748;
}

.sidebar-bottom {
    padding: 12px 0;
    border-top: 1px solid #f1f1f1;
}
.chat-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: calc(100vh - 170px);
    min-height: 520px;
    max-height: 820px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f1f1;
}

.chat-layout {
    display: flex;
    gap: 14px;
    height: 100%;
    min-height: 0;
}

.chat-history-panel {
    width: 260px;
    border: 1px solid #eceff4;
    border-radius: 12px;
    padding: 10px;
    background: #fafbfd;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex-shrink: 0;
}

.new-chat-btn {
    border: 1px solid #d8dfeb;
    border-radius: 10px;
    background: #fff;
    color: #2f3b4f;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.new-chat-btn:hover {
    border-color: #b59c61;
    color: #8b7443;
}

.chat-history-list {
    margin-top: 10px;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-history-item {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.chat-history-item:hover {
    background: #f2f5fa;
}

.chat-history-item.active {
    background: #ece6d7;
    border-color: #ddcca5;
}

.chat-history-open {
    flex: 1;
    border: none;
    background: transparent;
    text-align: left;
    padding: 5px 6px;
    border-radius: 8px;
    cursor: pointer;
}

.chat-history-title {
    font-size: 13px;
    color: #2f3b4f;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.chat-history-meta {
    font-size: 11px;
    color: #7c8798;
    margin-top: 3px;
}

.chat-history-empty {
    font-size: 12px;
    color: #95a1b3;
    padding: 8px 6px;
}

.chat-history-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.chat-history-item:hover .chat-history-actions,
.chat-history-item.active .chat-history-actions {
    opacity: 1;
}

.history-action-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #d8dfeb;
    border-radius: 7px;
    background: #fff;
    color: #67748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-action-btn:hover {
    border-color: #b59c61;
    color: #8b7443;
}

.history-delete-btn:hover {
    border-color: #d29f9f;
    color: #b55b5b;
}

.chat-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 4px 2px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    max-width: 88%;
}

.bot-message {
    align-self: flex-start;
    margin-right: auto;
    justify-content: flex-start;
}

.user-message {
    align-self: flex-end;
    margin-left: auto;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

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

.bot-message .message-avatar {
    background: linear-gradient(135deg, #b59c61, #b59c61);
    color: white;
}

.user-message .message-avatar {
    background: #e2e8f0;
    color: #718096;
}

.message-content {
    background: #f8f9fa;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    line-height: 1.65;
    font-size: 15px;
    max-width: min(78ch, 100%);
    width: fit-content;
    display: inline-block;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.user-message .message-content {
    background: #b59c61;
    color: white;
    border-color: #b59c61;
    max-width: min(62ch, 100%);
    position: relative;
    padding-right: 38px;
}

.message-content p,
.message-content ul,
.message-content ol {
    margin: 0;
}

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4 {
    margin: 0;
    line-height: 1.35;
    font-weight: 600;
    font-size: 1.05em;
}

.message-content p + p,
.message-content p + ul,
.message-content p + ol,
.message-content ul + p,
.message-content ol + p {
    margin-top: 8px;
}

.message-content h1 + p,
.message-content h2 + p,
.message-content h3 + p,
.message-content h4 + p,
.message-content p + h1,
.message-content p + h2,
.message-content p + h3,
.message-content p + h4 {
    margin-top: 8px;
}

.message-content ul,
.message-content ol {
    padding-left: 20px;
}

.message-content li + li {
    margin-top: 4px;
}

.message-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 5px;
    border-radius: 4px;
}

.user-message .message-content code {
    background: rgba(255, 255, 255, 0.2);
}

.message-content .chat-download-card {
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #e8dfd0;
    background: linear-gradient(165deg, #fffdf9 0%, #faf8f4 100%);
    box-shadow: 0 4px 18px rgba(45, 55, 72, 0.06);
    max-width: 420px;
}

.message-content .chat-download-hint {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #5c6578;
    font-weight: 400;
}

.message-content .chat-download-card .download-expiry {
    margin-bottom: 14px;
}

.message-content a.download-link {
    display: inline-block;
    margin-top: 4px;
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px solid #d8c8a0;
    background: #fff9ec;
    color: #6d5525;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.message-content a.download-link.chat-download-button {
    margin-top: 0;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(181, 156, 97, 0.2);
}

.message-content a.download-link.chat-download-button::before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    opacity: 0.9;
}

.message-content a.download-link:hover {
    border-color: #b59c61;
    background: #f4e9d2;
}

.message-content .download-expiry {
    display: inline-block;
    margin: 2px 0 8px;
    padding: 6px 10px;
    border-radius: 9px;
    border: 1px solid #e3c98f;
    background: #fff6e3;
    color: #6d5525;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.35;
}

.message-content .download-expiry.expired {
    border-color: #e2b8b8;
    background: #fdf0f0;
    color: #9a4848;
}

.message-content a.download-link.expired-link {
    border-color: #e2c9c9;
    background: #f8f1f1;
    color: #967777;
    pointer-events: none;
    cursor: not-allowed;
}

.chat-input-container {
    border-top: 1px solid #e9ecef;
    padding-top: 14px;
    margin-top: 10px;
    background: #fff;
}

.edit-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f7f3ea;
    border: 1px solid #e4d7bb;
    color: #6e5e3d;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.edit-state-text {
    font-weight: 600;
}

.edit-cancel-btn {
    border: none;
    background: transparent;
    color: #8d7542;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 4px;
}

.chat-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.45;
    outline: none;
    background: #f8f9fa;
    transition: all 0.2s ease;
    resize: none;
    min-height: 46px;
    max-height: 180px;
    overflow-y: hidden;
}

.chat-input:focus {
    border-color: #b59c61;
    background: white;
}

.send-btn {
    background: #b59c61;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.send-btn:hover {
    background: #b59c61;
    transform: translateY(-1px);
}

.message-content .table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    margin: 10px 0 4px;
    background: #ffffff;
}

.message-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.93em;
}

.message-content thead th {
    background: #f6f8fb;
    color: #364152;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e4e9f0;
}

.message-content tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f6;
    vertical-align: top;
}

.message-content tbody tr:nth-child(even) td {
    background: #fbfcfe;
}

.message-content tbody tr:last-child td {
    border-bottom: none;
}

.message-content th,
.message-content td {
    white-space: normal;
    word-break: break-word;
}

.edit-message-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.16);
    color: #ffffff;
    font-size: 11px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}

.user-message .message-content:hover .edit-message-btn,
.user-message .message-content:focus-within .edit-message-btn,
.edit-message-btn:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.edit-message-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.28);
}

.edit-message-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 1px;
}

@media (hover: none) and (pointer: coarse) {
    .user-message .message-content .edit-message-btn {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .chat-history-item .chat-history-actions {
        opacity: 1;
    }
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #b59c61;
    border-radius: 3px;
}

.chat-history-list::-webkit-scrollbar {
    width: 6px;
}

.chat-history-list::-webkit-scrollbar-thumb {
    background: #cfd6e3;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .chat-container {
        padding: 14px;
        border-radius: 12px;
        height: calc(100vh - 130px);
        min-height: 430px;
    }

    .chat-layout {
        flex-direction: column;
        gap: 10px;
    }

    .chat-history-panel {
        width: 100%;
        max-height: 180px;
    }
    
    .message-content {
        padding: 10px 14px;
        font-size: 14px;
        max-width: 100%;
    }
    
    .message-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .chat-input-container {
        padding-top: 16px;
        margin-top: 16px;
    }
    
    .chat-input-wrapper {
        gap: 8px;
    }
    
    .chat-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .send-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .search-bar {
        display: none;
    }

    .header {
        padding: 12px 14px;
    }
}

/* Premium Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

.close:hover {
    color: #000;
}

.premium-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.premium-form h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.premium-form h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.premium-form .billing-info {
    margin-bottom: 24px;
}

.premium-form .form-group {
    margin-bottom: 12px;
}

.premium-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.premium-form .form-group input,
.premium-form .form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    background-color: white;
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.premium-form .payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.premium-plan-info {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.premium-plan-info h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.premium-plan-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.premium-plan-info .features ul {
    list-style: none;
    margin-bottom: 20px;
}

.premium-plan-info .features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6b7280;
}

.premium-plan-info .features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #f59e0b;
    border-radius: 50%;
}

.premium-plan-info .billing-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.premium-plan-info .billing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.premium-plan-info .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.premium-plan-info .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.premium-plan-info .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3b82f6;
    transition: .4s;
    border-radius: 24px;
}

.premium-plan-info .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    right: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.premium-plan-info .price {
    margin-left: auto;
    font-weight: 600;
    color: #1a1a1a;
}

.premium-plan-info .charged-today {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.premium-plan-info .charged-today .amount {
    font-weight: 600;
    color: #1a1a1a;
}

.premium-plan-info .confirm-btn {
    width: 100%;
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

.premium-plan-info .confirm-btn:hover {
    background-color: #374151;
}

.premium-plan-info .terms {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.premium-plan-info .terms a {
    color: #3b82f6;
    text-decoration: none;
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header {
        padding: 12px 20px 12px 60px;
    }
    
    .search-bar {
        width: 100%;
        max-width: 300px;
    }
    
    .header-right {
        gap: 12px;
        margin-left: auto;
        justify-content: flex-end;
        width: 100%;
    }

    .notification {
        margin-left: auto;
    }
    
    .date {
        display: none;
    }
    
    .chat-container {
        height: calc(100vh - 160px);
    }
    
    .premium-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px 10px 55px;
    }
    
    .search-bar {
        display: none;
    }
    
    .profile-info {
        display: none;
    }
    
    .message {
        padding: 10px;
        font-size: 14px;
    }
    
    .input-container input {
        font-size: 14px;
        padding: 10px 50px 10px 15px;
    }
}

/* ==================== Lesson Context Banner ==================== */
.lesson-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #faf8f3 0%, #f5f0e6 100%);
    border: 1px solid #e8dfc9;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
}

.lesson-banner .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e0d5c0;
    border-radius: 8px;
    color: #6b5d4d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.lesson-banner .back-btn:hover {
    background: #b59c61;
    color: white;
    border-color: #b59c61;
}

.lesson-banner-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.lesson-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #b59c61, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.lesson-banner-info h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #2d2d2d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lesson-banner-info p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #8a7e6b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* AI Coach — natural chat affordances */
.coach-thinking .message-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #718096;
    font-size: 14px;
}

.coach-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    vertical-align: middle;
}

.coach-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b59c61;
    opacity: 0.35;
    animation: coachDotPulse 1.1s ease-in-out infinite;
}

.coach-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.coach-dot:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes coachDotPulse {
    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.coach-typing-text {
    font-style: normal;
    color: #a0aec0;
    font-size: 13px;
}

.coach-starters-row {
    margin: 8px 0 20px 52px;
    max-width: 560px;
}

.coach-starters-label {
    font-size: 12px;
    color: #a0aec0;
    margin: 0 0 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.coach-starters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coach-starter-chip {
    border: 1px solid #e8dfd0;
    background: #fffbf7;
    color: #5c4f3a;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    text-align: left;
    line-height: 1.35;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.coach-starter-chip:hover {
    background: #fff5f2;
    border-color: #b59c61;
    box-shadow: 0 2px 8px rgba(181, 156, 97, 0.15);
}

@media (max-width: 768px) {
    .coach-starters-row {
        margin-left: 0;
    }

    .lesson-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .lesson-banner .back-btn {
        align-self: flex-start;
    }
}
