/* ========================================
   Methods & Lesson Plans — BJJ Mestre v4.0d
   ======================================== */

.mt-container { padding: 0 16px 100px; }

/* Cards */
.mt-list { display: flex; flex-direction: column; gap: 10px; }

.mt-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: transform 0.15s;
}
.mt-card:active { transform: scale(0.98); }

.mt-card-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.mt-card-badge {
    font-size: 0.72rem; padding: 3px 8px; border-radius: 6px; font-weight: 500;
}
.mt-card-badge.official { background: rgba(245,158,11,0.15); color: #f59e0b; }
.mt-card-badge.professor { background: rgba(139,92,246,0.15); color: #a78bfa; }
.mt-card-gp-count {
    font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.mt-card-title {
    font-size: 0.98rem; font-weight: 600; margin: 0 0 6px;
}
.mt-card-meta {
    display: flex; gap: 12px;
    font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 6px;
}
.mt-card-desc {
    font-size: 0.82rem; color: rgba(255,255,255,0.5);
    margin: 0 0 8px; line-height: 1.4;
}
.mt-view-btn {
    font-size: 0.8rem; color: #60a5fa; background: none; border: none;
    cursor: pointer; padding: 0; font-weight: 500;
}

/* Create button */
.mt-create-btn {
    width: 100%; padding: 12px; border-radius: 12px;
    border: 1px dashed rgba(139,92,246,0.3);
    background: rgba(139,92,246,0.06);
    color: #a78bfa; font-weight: 600; font-size: 0.88rem;
    cursor: pointer; margin-bottom: 14px;
}
.mt-create-btn:active { background: rgba(139,92,246,0.12); }

/* Empty */
.mt-empty {
    text-align: center; padding: 50px 20px; color: rgba(255,255,255,0.5);
}
.mt-empty h3 { font-size: 1.05rem; margin: 0 0 6px; color: rgba(255,255,255,0.7); }
.mt-empty p { font-size: 0.85rem; margin: 0; }

/* ====== DETAIL ====== */
.mt-detail { padding: 0 16px 100px; }

.mt-detail-hero {
    margin-bottom: 16px;
}
.mt-detail-title {
    font-size: 1.2rem; font-weight: 700; margin: 10px 0 8px;
}
.mt-detail-chips {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.mt-detail-obj {
    font-size: 0.9rem; color: rgba(255,255,255,0.7);
    margin: 0 0 6px; font-weight: 500;
}
.mt-detail-desc {
    font-size: 0.85rem; color: rgba(255,255,255,0.55);
    margin: 0; line-height: 1.5;
}

.mt-section-title {
    font-size: 0.92rem; font-weight: 600; margin: 16px 0 10px;
    color: rgba(255,255,255,0.8);
}

/* Gameplan cards inside method */
.mt-gp-list { margin-bottom: 16px; }

.mt-gp-card {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; margin-bottom: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; cursor: pointer;
    transition: transform 0.15s;
}
.mt-gp-card:active { transform: scale(0.98); }
.mt-gp-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(59,130,246,0.15); color: #60a5fa;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 700; flex-shrink: 0;
}
.mt-gp-info { flex: 1; min-width: 0; }
.mt-gp-info strong {
    display: block; font-size: 0.88rem; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mt-gp-sub {
    display: block; font-size: 0.75rem; color: rgba(255,255,255,0.45);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mt-gp-arrow {
    font-size: 1rem; color: rgba(255,255,255,0.3); flex-shrink: 0;
}

.mt-detail-actions {
    display: flex; flex-direction: column; gap: 10px; margin-top: 20px;
}
.mt-add-btn { width: 100%; }

.mt-success {
    text-align: center; padding: 20px 0;
}
.mt-success h3 { font-size: 1.1rem; margin: 0 0 8px; }
.mt-success p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0 0 4px; line-height: 1.5; }

/* ====== FORM ====== */
.mt-form { padding: 0 16px 100px; }

.mt-gp-selector {
    max-height: 220px; overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; padding: 8px;
    background: rgba(255,255,255,0.03);
}
.mt-gp-check {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 6px; font-size: 0.82rem;
    color: rgba(255,255,255,0.7); cursor: pointer;
}
.mt-gp-check input { accent-color: #3b82f6; }

/* ====== LESSON PLAN ====== */
.lp-section { margin-top: 20px; }

.lp-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 12px 14px;
    margin-bottom: 8px;
}
.lp-card-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 6px;
}
.lp-card-top strong { font-size: 0.9rem; }
.lp-preview {
    font-size: 0.78rem; color: rgba(255,255,255,0.45);
    margin: 4px 0 0;
}

.lp-form {
    padding: 12px 0;
}

/* ====== HOME: Active Method Card ====== */
.home-method-card {
    padding: 14px 16px; border-radius: 14px;
    border: 1px solid rgba(245,158,11,0.2);
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(139,92,246,0.06));
    cursor: pointer; margin-bottom: 14px;
    display: flex; align-items: center; gap: 12px;
}
.home-method-card:active { transform: scale(0.98); }
.home-method-icon { font-size: 1.4rem; }
.home-method-info { flex: 1; }
.home-method-info strong { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.home-method-info span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.home-method-arrow { font-size: 1rem; color: rgba(255,255,255,0.3); }
