/* MentoraPro — tahta QR girişi (web: kompakt teaser → tıklayınca açılır) */

#mp-board-qr-panel {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    text-align: center;
}
#mp-board-qr-panel.hidden { display: none !important; }

.mp-board-qr-teaser {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin: 0;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.mp-board-qr-teaser:hover {
    background: rgba(15, 118, 110, 0.18);
    border-color: rgba(45, 212, 191, 0.45);
}
.mp-board-qr-teaser-icon {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.22);
    color: #5eead4;
    font-size: 0.95rem;
}
.mp-board-qr-teaser-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}
.mp-board-qr-teaser-text strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}
.mp-board-qr-teaser-text em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.72);
    line-height: 1.25;
}
.mp-board-qr-teaser-chevron {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.9);
}

#mp-board-qr-panel.is-expanded .mp-board-qr-teaser {
    display: none !important;
}
#mp-board-qr-panel.is-collapsed .mp-board-qr-body,
#mp-board-qr-panel .mp-board-qr-body[hidden] {
    display: none !important;
}
#mp-board-qr-panel.is-expanded .mp-board-qr-body {
    display: block !important;
}

.mp-board-qr-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 0.35rem;
}
.mp-board-qr-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
#mp-board-qr-canvas,
#mp-board-qr-img {
    display: block;
    width: 180px;
    height: 180px;
    border-radius: 0.5rem;
}
#mp-board-qr-img.hidden,
#mp-board-qr-canvas.hidden { display: none !important; }
#mp-board-qr-status {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.35;
}
.mp-board-qr-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 0.45rem;
}
.mp-board-qr-refresh,
.mp-board-qr-collapse {
    font-size: 0.72rem;
    font-weight: 700;
    color: #5eead4;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.mp-board-qr-collapse {
    color: #94a3b8;
    text-decoration: none;
}

/* Mobil / dar ekran: tahta QR yok (telefon tarafı) */
@media (max-width: 720px) {
    #mp-board-qr-panel { display: none !important; }
}

.mp-board-approve-modal,
.mp-board-scan-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}
.mp-board-approve-modal.hidden,
.mp-board-scan-modal.hidden { display: none !important; }
.mp-board-approve-card,
.mp-board-scan-card {
    width: 100%;
    max-width: 22rem;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.35rem 1.25rem 1.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
}
.mp-board-approve-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 1.25rem;
}
.mp-board-approve-card h3,
.mp-board-scan-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}
.mp-board-approve-card p {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.45;
}
.mp-board-approve-err {
    color: #b91c1c !important;
    font-weight: 700;
    font-size: 0.8rem !important;
}
.mp-board-approve-err.hidden { display: none !important; }
.mp-board-approve-btn {
    width: 100%;
    border: none;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #115e59);
    cursor: pointer;
}
.mp-board-approve-btn:disabled {
    opacity: 0.65;
    cursor: default;
}
.mp-board-approve-cancel {
    margin-top: 0.55rem;
    width: 100%;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.45rem;
}
.mp-board-scan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    text-align: left;
}
.mp-board-scan-head button {
    border: none;
    background: #f1f5f9;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    color: #475569;
    cursor: pointer;
}
#mp-board-scan-reader {
    min-height: 240px;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #0f172a;
}
.mp-board-scan-hint {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

.mp-board-scan-manual {
    margin-top: 0.85rem;
    text-align: left;
}
.mp-board-scan-manual label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.35rem;
}
.mp-board-scan-manual input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 0.55rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
}
.mp-board-scan-manual button {
    margin-top: 0.45rem;
    width: 100%;
    border: 0;
    border-radius: 0.55rem;
    padding: 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
}

.mp-board-qr-tip {
    margin: 0.45rem 0 0.55rem;
    font-size: 0.68rem;
    line-height: 1.4;
    color: #94a3b8;
    text-align: left;
}
.mp-board-qr-link-wrap {
    display: flex;
    gap: 0.35rem;
    margin: 0.35rem 0 0.55rem;
    align-items: stretch;
}
.mp-board-qr-link-wrap.hidden { display: none !important; }
.mp-board-qr-link {
    flex: 1;
    min-width: 0;
    font-size: 0.62rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.45);
    color: #e2e8f0;
}
.mp-board-qr-copy {
    flex-shrink: 0;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 800;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
}

.mp-board-qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin: 0.35rem 0 0.55rem;
}
.mp-board-qr-code-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}
.mp-board-qr-code {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.28em;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}
.mp-board-qr-code.is-ready {
    color: #5eead4;
}
