@import '_content/myNetClock.Blazor/myNetClock.Blazor.me8be5qvfs.bundle.scp.css';

/* /Pages/Home.razor.rz.scp.css */
.mnb-container[b-deiwt3cf9f] {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
}

.mnb-card[b-deiwt3cf9f] {
    padding: clamp(18px, 5vw, 32px);
    background: #fffdf8;
    border: 1px solid #eee8dc;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgb(50 45 35 / 9%);
}

.mnb-header[b-deiwt3cf9f] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    margin-bottom: 12px;
    padding: 0 44px 12px;
    border-bottom: 1px solid #ece7dc;
    text-align: center;
}

.mnb-header h3[b-deiwt3cf9f] {
    margin: 0;
    color: #26364a;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 700;
}

.logo-container[b-deiwt3cf9f] {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.logo-img[b-deiwt3cf9f] {
    width: 34px;
    height: 34px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .logo-img:hover[b-deiwt3cf9f] { transform: scale(1.12); }
}

.logo-img.logo-active[b-deiwt3cf9f] { transform: scale(1.12); }

.logo-tooltip[b-deiwt3cf9f] {
    position: absolute;
    z-index: 10;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #26364a;
    box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
    color: #fff;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.logo-tooltip.visible[b-deiwt3cf9f] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.clock-wrapper[b-deiwt3cf9f] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0 0;
}

.time-period-row[b-deiwt3cf9f] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 18px;
}

.ampm-indicator[b-deiwt3cf9f] {
    margin: 0;
    color: #26364a;
    font-size: 1.25rem;
    font-weight: 700;
}

.answer-feedback[b-deiwt3cf9f] {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    animation: feedback-in-b-deiwt3cf9f 0.2s ease-out;
}

.answer-correct[b-deiwt3cf9f] { background: #e5f5e9; color: #176b32; }
.answer-incorrect[b-deiwt3cf9f] { background: #fde9e7; color: #a52a20; }

@keyframes feedback-in-b-deiwt3cf9f {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.evaluation-alert[b-deiwt3cf9f] {
    margin-bottom: 18px;
    text-align: center;
    font-weight: 600;
}

/* Hibás válasz esetén a helyes megoldás kiírása */
.correct-answer-hint[b-deiwt3cf9f] {
    text-align: center;
    font-weight: 600;
    color: #a52a20;
    margin: -12px 0 18px 0;
}

.game-buttons[b-deiwt3cf9f] {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.game-buttons .btn[b-deiwt3cf9f] {
    min-height: 48px;
    min-width: 140px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
}

.check-score-row[b-deiwt3cf9f] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.check-box[b-deiwt3cf9f], .score-box[b-deiwt3cf9f] {
    padding: 16px;
    border: 1px solid #e5e8eb;
    border-radius: 14px;
    background: #f8fafb;
    text-align: center;
}

.check-box h5[b-deiwt3cf9f], .score-box h5[b-deiwt3cf9f] {
    margin: 0 0 12px;
    color: #39495c;
    font-weight: 700;
}

/* Önellenőrzés kapcsoló és a hozzá tartozó idő-választók */
.self-check-toggle[b-deiwt3cf9f] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    color: #39495c;
    margin: 0 0 12px;
}

    .self-check-toggle input[type="checkbox"][b-deiwt3cf9f] {
        width: 20px;
        height: 20px;
        accent-color: #007bff;
        cursor: pointer;
    }

.check-score-row:has(.self-check-picker) .check-box[b-deiwt3cf9f] {
    grid-column: 1 / -1;
}

.self-check-picker[b-deiwt3cf9f] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.time-picker-section[b-deiwt3cf9f] { min-width: 0; }
.mobile-time-select[b-deiwt3cf9f] { display: none; }

.picker-label[b-deiwt3cf9f] {
    display: block;
    margin-bottom: 8px;
    color: #39495c;
    font-size: 0.9rem;
    font-weight: 700;
}

.choice-grid[b-deiwt3cf9f] {
    display: grid;
    gap: 6px;
}

.hour-grid[b-deiwt3cf9f] { grid-template-columns: repeat(6, minmax(38px, 1fr)); }
.minute-grid[b-deiwt3cf9f] { grid-template-columns: repeat(4, minmax(38px, 1fr)); }

.minute-grid-scroll[b-deiwt3cf9f] {
    max-height: 188px;
    overflow-y: auto;
    padding: 2px 4px 2px 2px;
    overscroll-behavior: contain;
}

.time-choice[b-deiwt3cf9f] {
    min-width: 0;
    min-height: 42px;
    padding: 6px 4px;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    background: #fff;
    color: #26364a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.time-choice:hover:not(:disabled)[b-deiwt3cf9f] { border-color: #0d6efd; background: #f2f7ff; }
.time-choice:active:not(:disabled)[b-deiwt3cf9f] { transform: scale(0.96); }
.time-choice.selected[b-deiwt3cf9f] { border-color: #0d6efd; background: #0d6efd; color: #fff; box-shadow: 0 0 0 2px rgb(13 110 253 / 15%); }
.time-choice:focus-visible[b-deiwt3cf9f] { outline: 3px solid rgb(13 110 253 / 45%); outline-offset: 2px; }
.time-choice:disabled[b-deiwt3cf9f] { cursor: not-allowed; opacity: 0.55; }

.self-check-picker .time-separator[b-deiwt3cf9f] {
    align-self: center;
    margin-top: 26px;
    color: #26364a;
    font-size: 1.6rem;
}

.self-check-submit[b-deiwt3cf9f] {
    grid-column: 1 / -1;
    min-height: 48px;
    font-weight: 700;
}

.time-separator[b-deiwt3cf9f] {
    font-size: 20px;
    font-weight: 700;
}

.check-buttons[b-deiwt3cf9f] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-check-good[b-deiwt3cf9f], .btn-check-bad[b-deiwt3cf9f] {
    min-height: 48px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-check-good[b-deiwt3cf9f] { background: #198754; }
.btn-check-good:hover:not(:disabled)[b-deiwt3cf9f] { background: #146c43; }
.btn-check-bad[b-deiwt3cf9f] { background: #c43d42; }
.btn-check-bad:hover:not(:disabled)[b-deiwt3cf9f] { background: #a82f35; }

.score-row[b-deiwt3cf9f] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 1rem;
}

.score-good[b-deiwt3cf9f] { color: #198754; }
.score-bad[b-deiwt3cf9f] { color: #c43d42; }

.level-radio-group[b-deiwt3cf9f] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.level-radio-option[b-deiwt3cf9f] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 10px;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.level-radio-option:has(input:checked)[b-deiwt3cf9f] {
    border-color: #0d6efd;
    background: #eef5ff;
    box-shadow: 0 0 0 2px rgb(13 110 253 / 12%);
}

.level-radio-option input[type="radio"][b-deiwt3cf9f] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: #0d6efd;
}

@media (max-width: 520px) {
    .mnb-container[b-deiwt3cf9f] { padding: 10px; }
    .mnb-card[b-deiwt3cf9f] { border-radius: 16px; }
    .clock-wrapper[b-deiwt3cf9f] { margin-top: 0; }
    .game-buttons[b-deiwt3cf9f] { flex-direction: column; }
    .game-buttons .btn[b-deiwt3cf9f] { width: 100%; }
    .check-score-row[b-deiwt3cf9f] { grid-template-columns: 1fr; gap: 10px; }
    .check-score-row:has(.self-check-picker) .check-box[b-deiwt3cf9f] { grid-column: auto; }
    .self-check-picker[b-deiwt3cf9f] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .self-check-picker .time-separator[b-deiwt3cf9f] { display: none; }
    .choice-grid[b-deiwt3cf9f] { display: none; }
    .picker-label[b-deiwt3cf9f] { margin-bottom: 6px; text-align: center; }
    .mobile-time-select[b-deiwt3cf9f] {
        display: block;
        width: 100%;
        min-height: 48px;
        padding: 8px 32px 8px 12px;
        border: 2px solid #dce2e8;
        border-radius: 10px;
        background-color: #fff;
        color: #26364a;
        font-size: 16px;
        font-weight: 700;
        text-align: center;
    }
    .mobile-time-select:focus[b-deiwt3cf9f] { border-color: #0d6efd; outline: 3px solid rgb(13 110 253 / 15%); }
    .mobile-time-select:disabled[b-deiwt3cf9f] { background-color: #f1f3f5; opacity: 0.65; }
    .level-radio-group[b-deiwt3cf9f] { grid-template-columns: 1fr; }
    .level-radio-option[b-deiwt3cf9f] { justify-content: flex-start; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *[b-deiwt3cf9f], *[b-deiwt3cf9f]::before, *[b-deiwt3cf9f]::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
