/* ===============================
   GITAR WRAPPER & ORIENTATION
   =============================== */

.akb-guitar-wrapper {
    width: 100%;
    display: none;
    position: relative;
}

.akb-orientation-hint {
    display: none;
    background: #e8f2ff;
    color: #1a3d7c;
    border: 1px solid #c9dcff;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 768px) and (orientation: portrait) {
    .akb-orientation-hint {
        display: block;
    }
}

/* ===============================
   CANVAS CONTAINER
   =============================== */

.akb-guitar-canvas-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 4;
    background:
        linear-gradient(180deg, #2a2a2a, #141414),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03),
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 60px
        );
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -2px 8px rgba(0,0,0,0.6),
        0 12px 30px rgba(0,0,0,0.45);
}

#akb-guitar-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===============================
   LOADING
   =============================== */

.akb-guitar-loading {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    margin-bottom: 10px;
}

.akb-guitar-loading-inner {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

/* ===============================
   TOOLBAR
   =============================== */

.akb-guitar-toolbar {
    font-size: 0.85rem;
}

.akb-toggle-btn {
    font-size: 0.8rem;
}

.akb-toggle-btn .akb-toggle-state {
    font-weight: 600;
    margin-left: 2px;
}

/* ===============================
   NOTE DISPLAY (aynı piyano hissi)
   =============================== */

.akb-note-display-wrapper {
    min-width: 120px;
}

.akb-note-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.45);
    color: #f8fafc;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    min-width: 80px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.akb-note-display.akb-note-visible {
    opacity: 1;
    transform: translateY(0);
}

.akb-note-display-note {
    font-weight: 600;
}

/* ===============================
   GITAR LEGEND
   =============================== */

.akb-guitar-legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 6px;
}

/* ===============================
   INTERACTION STATES
   (JS canvas overlay ile uyumlu)
   =============================== */

/* JS canvas çiziminde kullanılacak renk rehberi */
:root {
    --akb-fret-active: rgba(0, 140, 255, 0.35);
    --akb-fret-glow: rgba(0, 140, 255, 0.55);
    --akb-string-color: rgba(230, 230, 230, 0.9);
    --akb-fret-metal: rgba(220, 220, 220, 0.65);
}

/* ===============================
   MOBILE TWEAKS
   =============================== */

@media (max-width: 768px) {
    .akb-guitar-canvas-container {
        aspect-ratio: 16 / 5;
        border-radius: 10px;
    }

    .akb-note-display {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}
