/* _content/MemoryGame.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* The container fills the viewport */
.main-container[b-tcwh039h37] {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* This is the magic part: the whole main area scrolls */
main[b-tcwh039h37] {
    flex: 1;
    overflow-y: auto; /* Enable scrolling for the whole thing */
    background-color: #f8f9fa;
}

.page-content[b-tcwh039h37] {
    padding: 1.5rem;
}

/* --- Navigation Styling --- */
[b-tcwh039h37] .top-nav {
    background-color: #212529;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column; /* Stack brand on top of links on mobile */
    align-items: center;
    gap: 10px;
}

[b-tcwh039h37] .nav-brand {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 5px 0;
}

[b-tcwh039h37] .nav-links {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 10px;
}

[b-tcwh039h37] .nav-item {
    color: #adb5bd;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    padding: 5px;
}

    [b-tcwh039h37] .nav-item i {
        font-size: 1.3rem;
    }

    [b-tcwh039h37] .nav-item.active {
        color: #0d6efd;
    }

/* --- Desktop Layout --- */
@media (min-width: 768px) {
    [b-tcwh039h37] .top-nav {
        flex-direction: row; /* Side by side brand and links */
        justify-content: space-between;
        padding: 0 2rem;
        height: 60px;
    }

    [b-tcwh039h37] .nav-links {
        width: auto;
        justify-content: flex-end;
        gap: 30px;
    }

    [b-tcwh039h37] .nav-item i {
        display: block; /* Ensures it sits on its own line above the text */
        font-size: 1.4rem;
        margin-bottom: 2px;
        color: inherit; /* Inherits the blue color when active */
    }
}

[b-tcwh039h37] .nav-item-form {
    display: inline-block;
    margin: 0;
}

[b-tcwh039h37] .nav-item-btn {
    background: none;
    border: none;
    color: #adb5bd;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

    [b-tcwh039h37] .nav-item-btn i {
        font-size: 1.3rem;
    }

    /* Match the hover/active states of the NavLinks */
    [b-tcwh039h37] .nav-item-btn:hover {
        color: white;
    }

@media (min-width: 768px) {
    [b-tcwh039h37] .nav-item-btn {
        flex-direction: row;
        font-size: 1rem;
        gap: 8px;
    }
}
/* _content/MemoryGame.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-island[b-vxpr95pmmz] {
    background-color: #212529;
    color: white;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header[b-vxpr95pmmz] {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 15px;
}

.toggle-btn[b-vxpr95pmmz] {
    color: white;
    font-size: 1.5rem;
    padding: 0;
    background: none;
    border: none;
}

.nav-links[b-vxpr95pmmz] {
    display: flex;
    flex-direction: column;
}

.nav-link[b-vxpr95pmmz] {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #ced4da;
    text-decoration: none;
}

    .nav-link:hover[b-vxpr95pmmz] {
        background-color: #343a40;
    }

    .nav-link.active[b-vxpr95pmmz] {
        background-color: #0d6efd;
        color: white;
    }

/* --- DESKTOP --- */
@media (min-width: 768.1px) {
    .sidebar-island.expanded[b-vxpr95pmmz] {
        width: 250px;
    }

    .sidebar-island.collapsed[b-vxpr95pmmz] {
        width: 65px;
    }

        .sidebar-island.collapsed .text[b-vxpr95pmmz] {
            display: none;
        }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .sidebar-island[b-vxpr95pmmz] {
        width: 100%;
    }

        .sidebar-island.collapsed .nav-links[b-vxpr95pmmz] {
            display: none;
        }
}
/* _content/MemoryGame.Web/Components/Layout/Sidebar.razor.rz.scp.css */
/* --- The Backdrop --- */
.sidebar-backdrop[b-j7xt1jp3s8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Dim the background */
    z-index: 1900; /* Just below the sidebar */
    backdrop-filter: blur(2px);
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .sidebar-container[b-j7xt1jp3s8] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        z-index: 2000;
        transform: translateX(0);
        transition: transform 0.3s ease-in-out;
        box-shadow: 10px 0 20px rgba(0,0,0,0.4);
    }

        .sidebar-container.collapsed[b-j7xt1jp3s8] {
            transform: translateX(-100%);
        }

    /* Make sure the header has enough room for the close button */
    .sidebar-header[b-j7xt1jp3s8] {
        justify-content: space-between;
        padding-right: 1rem;
    }
}

/* Keep your existing .nav-link, .icon, etc. styles below */
/* _content/MemoryGame.Web/Components/Pages/Home.razor.rz.scp.css */
/* Existing Hero & Card Styles */
.hero-section[b-thy0o31paz] {
	background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.feature-card[b-thy0o31paz] {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border-radius: 16px;
}

	.feature-card:hover[b-thy0o31paz] {
		transform: translateY(-5px);
		box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
	}

.feature-icon[b-thy0o31paz] {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	border-radius: 12px;
	font-size: 2rem;
}

.bg-primary-subtle[b-thy0o31paz] {
	background-color: #cfe2ff;
}

.bg-warning-subtle[b-thy0o31paz] {
	background-color: #fff3cd;
}

.bg-info-subtle[b-thy0o31paz] {
	background-color: #cff4fc;
}

h1[b-thy0o31paz] {
	letter-spacing: -1px;
}

/* =========================================
   NEW: DYNAMIC HOOK CHAT STYLES
========================================= */

.hook-chat-wrapper[b-thy0o31paz] {
	max-width: 650px;
	width: 100%;
	margin: 0 auto;
}

.hook-bubble-incoming[b-thy0o31paz] {
	background-color: #ffffff;
	color: #212529;
	padding: 1.25rem 1.75rem;
	border-radius: 4px 20px 20px 20px;
	border: 1px solid #eaeaea;
	font-size: 1.15rem;
	line-height: 1.6;
	position: relative;
	border-left: 4px solid #0d6efd;
	/* --- NEW: Forces HTML to respect \n line breaks --- */
	white-space: pre-wrap;
}

.hook-btn-reply[b-thy0o31paz] {
	background-color: #0d6efd;
	color: white;
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	padding: 0.9rem 1.75rem;
	border-radius: 20px 20px 4px 20px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.2s ease-in-out;
	max-width: 550px;
	border: none;
}

	.hook-btn-reply:hover[b-thy0o31paz] {
		background-color: #0b5ed7;
		transform: translateY(-2px);
		color: white;
		box-shadow: 0 6px 15px rgba(13, 110, 253, 0.25) !important;
	}

.tracking-wider[b-thy0o31paz] {
	letter-spacing: 0.05em;
}

.hover-underline:hover[b-thy0o31paz] {
	text-decoration: underline !important;
}

.animate-fade-in[b-thy0o31paz] {
	animation: fadeIn-b-thy0o31paz 0.4s ease-out forwards;
}

@keyframes fadeIn-b-thy0o31paz {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* --- NEW: Avatar for the Home Page Hook --- */
.hook-avatar[b-thy0o31paz] {
	width: 90px;
	height: 90px;
	object-fit: cover;
	object-position: 50% 15%;
	border-radius: 50%;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	animation: fadeIn-b-thy0o31paz 0.4s ease-out forwards;
}
/* _content/MemoryGame.Web/Components/Pages/Memory/TestingPage/ChoiceToggle.razor.rz.scp.css */

.choice-card[b-p75vsq70ln] {
	padding: 12px;
	margin: 8px 0;
	border-radius: 8px;
	border: 2px solid #ccc;
	cursor: pointer;
	transition: 0.2s ease;
}

	.choice-card:hover[b-p75vsq70ln] {
		border-color: #888;
		background-color: #f7f7f7;
	}

	.choice-card.selected[b-p75vsq70ln] {
		border-color: #007bff;
		background-color: #e7f1ff;
	}
/* _content/MemoryGame.Web/Components/Pages/Memory/TestingPage/SessionComplete.razor.rz.scp.css */
/* =========================================
   1. MAIN CONTAINER
========================================= */
.completion-container[b-pneds9tx1q] {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 80vh;
	padding: 20px;
	background: radial-gradient(circle at center, #f8fafc 0%, #eff6ff 100%);
	border-radius: 20px;
}

/* =========================================
   2. SUCCESS CARD
========================================= */
.success-card[b-pneds9tx1q] {
	background: white;
	max-width: 500px;
	width: 100%;
	padding: 3rem 2rem;
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
	text-align: center;
	border: 1px solid rgba(59, 130, 246, 0.1);
	animation: slideUpFade-b-pneds9tx1q 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================
   3. ANIMATED TROPHY ICON
========================================= */
.icon-wrapper[b-pneds9tx1q] {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto 2rem auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.glow-ring[b-pneds9tx1q] {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #bfdbfe;
	border-radius: 50%;
	animation: pulseGlow-b-pneds9tx1q 2s infinite alternate;
	z-index: 1;
}

.trophy-icon[b-pneds9tx1q] {
	font-size: 4.5rem;
	color: #eab308; /* Golden yellow */
	z-index: 2;
	text-shadow: 0 8px 15px rgba(234, 179, 8, 0.3);
	animation: popInBounce-b-pneds9tx1q 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* =========================================
   4. TYPOGRAPHY & STATS
========================================= */
.celebration-title[b-pneds9tx1q] {
	font-size: 2.2rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 0.5rem;
}

.celebration-text[b-pneds9tx1q] {
	font-size: 1.1rem;
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 2.5rem;
}

.stats-row[b-pneds9tx1q] {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.stat-box[b-pneds9tx1q] {
	background: #f8fafc;
	padding: 1.2rem 1.5rem;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 140px;
	border: 1px solid #e2e8f0;
}

.stat-icon[b-pneds9tx1q] {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.stat-number[b-pneds9tx1q] {
	font-size: 1.8rem;
	font-weight: 800;
	color: #0f172a;
}

.stat-label[b-pneds9tx1q] {
	font-size: 0.85rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 4px;
}

/* =========================================
   5. BUTTONS
========================================= */
.action-buttons[b-pneds9tx1q] {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.action-btn[b-pneds9tx1q] {
	padding: 0.8rem 1.5rem;
	font-weight: bold;
	font-size: 1.1rem;
	border-radius: 12px;
	transition: all 0.2s ease;
}

	.action-btn:hover[b-pneds9tx1q] {
		transform: translateY(-2px);
	}

/* =========================================
   6. ANIMATIONS
========================================= */
@keyframes slideUpFade-b-pneds9tx1q {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes popInBounce-b-pneds9tx1q {
	0% {
		opacity: 0;
		transform: scale(0.3) rotate(-15deg);
	}

	60% {
		transform: scale(1.1) rotate(5deg);
	}

	100% {
		opacity: 1;
		transform: scale(1) rotate(0);
	}
}

@keyframes pulseGlow-b-pneds9tx1q {
	0% {
		transform: scale(0.8);
		opacity: 0.4;
	}

	100% {
		transform: scale(1.2);
		opacity: 0.8;
	}
}

/* Mobile Adjustments */
@media (max-width: 500px) {
	.stats-row[b-pneds9tx1q] {
		flex-direction: column;
		gap: 1rem;
	}

	.stat-box[b-pneds9tx1q] {
		min-width: 100%;
	}

	.success-card[b-pneds9tx1q] {
		padding: 2rem 1.5rem;
	}
}
/* _content/MemoryGame.Web/Components/Pages/Memory/TestingPage/WeekTest.razor.rz.scp.css */
/* =========================================
   1. LAYOUT CONTROLS & BASICS
========================================= */
.test-layout[b-px4uroprw5] {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0;
    padding: 20px;
    align-items: start;
}

/* --- STICKY CONVERSATION PROFILE LEFT CARD --- */
.left-panel[b-px4uroprw5] {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

.image-wrapper[b-px4uroprw5] {
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
}

.header-image[b-px4uroprw5] {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 4px solid #e9ecef;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.zoom-indicator[b-px4uroprw5] {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    border: 2px solid #ffffff;
}

.status-indicator[b-px4uroprw5] {
    font-size: 0.85rem;
    color: #198754;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .status-indicator .dot[b-px4uroprw5] {
        width: 8px;
        height: 8px;
        background-color: #198754;
        border-radius: 50%;
        display: inline-block;
    }

/* --- RIGHT PANEL LAYOUT --- */
.right-panel[b-px4uroprw5] {
    border-left: 1px solid #e0e0e0;
    padding-left: 2rem;
}

/* =========================================
   2. TEXTING THREAD & BUBBLE MECHANICS
========================================= */
.chat-wrapper[b-px4uroprw5] {
    border: 1px solid #eef0f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.chat-header[b-px4uroprw5] {
    background-color: #f8f9fa;
}

.chat-feed[b-px4uroprw5] {
    display: flex;
    flex-direction: column;
    background-color: #f4f6f8;
    min-height: 350px;
}

/* Incoming Message Bubble (Left Align) */
.chat-bubble-incoming[b-px4uroprw5] {
    align-self: flex-start;
    background-color: #ffffff;
    color: #212529;
    padding: 1rem 1.25rem;
    border-radius: 4px 18px 18px 18px;
    max-width: 85%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid #eaeaea;
}

/* UPGRADED: Outgoing History Bubble (Right Align Flat text, simulating sent messages) */
.chat-bubble-outgoing[b-px4uroprw5] {
    align-self: flex-end;
    background-color: #e1f5fe;
    color: #0288d1;
    padding: 1rem 1.25rem;
    border-radius: 18px 18px 4px 18px;
    max-width: 85%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    margin-bottom: 1.5rem;
    border: 1px solid #b3e5fc;
    font-weight: 500;
}

.message-text[b-px4uroprw5] {
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Outgoing Interactive Action Button */
.reply-wrapper[b-px4uroprw5] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.btn-reply[b-px4uroprw5] {
    align-self: flex-end;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    max-width: 85%;
    text-align: right;
    border-radius: 18px 18px 4px 18px;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    transition: all 0.2s ease-in-out;
}

.btn-reply-primary[b-px4uroprw5] {
    background-color: #0d6efd;
    color: white;
}

    .btn-reply-primary:hover[b-px4uroprw5] {
        background-color: #0b5ed7;
        transform: scale(1.02);
    }

.btn-reply-success[b-px4uroprw5] {
    background-color: #198754;
    color: white;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

    .btn-reply-success:hover[b-px4uroprw5] {
        background-color: #157347;
        transform: scale(1.02);
    }

.memo-card[b-px4uroprw5] {
    border-radius: 8px;
    border-left: 3px solid #ffc107 !important;
}

/* =========================================
   3. RESPONSIVE COMPACT LAYOUTS (Mobile)
========================================= */
@media (max-width: 768px) {
    .test-layout[b-px4uroprw5] {
        display: block;
        padding: 0;
    }

    .left-panel[b-px4uroprw5] {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 100;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
        border-radius: 0 0 12px 12px;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .image-wrapper[b-px4uroprw5] {
        margin-bottom: 0;
    }

    .header-image[b-px4uroprw5] {
        width: 50px;
        height: 50px;
        border: 2px solid #e9ecef;
    }

    /* Bring zoom badge back for the circle icon context */
    .zoom-indicator[b-px4uroprw5] {
        display: flex;
        bottom: 2px;
        right: 2px;
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        border: 1px solid #ffffff;
    }

    .status-indicator[b-px4uroprw5] {
        display: none;
    }

    .chat-name[b-px4uroprw5] {
        font-size: 1.2rem;
        margin: 0 !important;
        padding-left: 10px;
        flex: 1;
        text-align: left;
    }

    .left-panel .border-top[b-px4uroprw5] {
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        width: auto !important;
    }

    .left-panel .badge[b-px4uroprw5] {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }

    .right-panel[b-px4uroprw5] {
        border-left: none;
        padding: 12px;
    }

    .chat-bubble-incoming[b-px4uroprw5], .chat-bubble-outgoing[b-px4uroprw5], .btn-reply[b-px4uroprw5] {
        max-width: 95%;
    }
}

/* Animations */
.entry-fade[b-px4uroprw5] {
    animation: chatSlideIn-b-px4uroprw5 0.35s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes chatSlideIn-b-px4uroprw5 {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse[b-px4uroprw5] {
    animation: replyPulse-b-px4uroprw5 2s infinite;
}

@keyframes replyPulse-b-px4uroprw5 {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(25, 135, 84, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

.image-modal-overlay[b-px4uroprw5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content[b-px4uroprw5] {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
}

.image-modal-close[b-px4uroprw5] {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* _content/MemoryGame.Web/Components/Pages/Memory/TestingPage/WeekTestPlay.razor.rz.scp.css */
/* =========================================
   1. MAIN DESKTOP LAYOUT
========================================= */
.test-layout[b-k0cp6apbyk] {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 2rem;
	max-width: 1200px;
	margin: 0;
	padding: 20px;
	align-items: start;
}

/* --- LEFT PANEL (Sticky Header) --- */
.left-panel[b-k0cp6apbyk] {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	padding: 1.5rem;
}

/* --- LEFT PANEL (Sticky Header) --- */
.left-panel[b-k0cp6apbyk] {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	padding: 1.5rem;
}

/* -------------------------------------
   ADD THESE DESKTOP WRAPPER & BADGE RULES
-------------------------------------- */

/* DESKTOP IMAGE WRAPPER */
.image-wrapper[b-k0cp6apbyk] {
	position: relative;
	align-self: center; /* Centers it in the sidebar */
	margin-bottom: 20px;
	cursor: pointer;
	width: 100%;
	max-width: 250px; /* Locks the wrapper to perfectly fit the image */
}

/* DESKTOP IMAGE */
.header-image[b-k0cp6apbyk] {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	display: block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* THE ZOOM BADGE */
.zoom-indicator[b-k0cp6apbyk] {
	position: absolute;
	bottom: -10px; /* Hangs off the bottom */
	right: -10px; /* Snaps to the right corner! */
	background-color: #3b82f6;
	color: white;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1rem;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	border: 2px solid #ffffff;
	transition: transform 0.2s ease;
}

.image-wrapper:active .zoom-indicator[b-k0cp6apbyk] {
	transform: scale(0.9);
}

/* ------------------------------------- */

.mobile-button-group[b-k0cp6apbyk] {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.mobile-button-group[b-k0cp6apbyk] {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.submit-btn[b-k0cp6apbyk] {
	width: 100%;
}

.refresh-btn[b-k0cp6apbyk] {
	width: 100%;
}

.desktop-divider[b-k0cp6apbyk] {
	display: block;
	width: 100%;
}

/* --- RIGHT PANEL (Scrolling Content) --- */
.right-panel[b-k0cp6apbyk] {
	padding-top: 0;
	border-left: 2px solid #e0e0e0;
	padding-left: 2rem;
}

/* =========================================
   2. INTERACTIVE CHOICE CARDS & BADGES
========================================= */
.choice-list[b-k0cp6apbyk] {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

	.choice-list li[b-k0cp6apbyk] {
		background-color: #ffffff;
		border-radius: 10px;
		padding: 15px 20px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
		border: 1px solid #f0f0f0;
		transition: all 0.2s ease;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

		.choice-list li:hover[b-k0cp6apbyk] {
			transform: translateY(-3px);
			box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
			cursor: pointer;
		}

.choice-wrapper[b-k0cp6apbyk] {
	flex-grow: 1;
}

/* --- GRADED STATES --- */
.choice-list li.selected-card[b-k0cp6apbyk] {
	background-color: #eff6ff;
	border-color: #3b82f6;
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.choice-list li.correct-card[b-k0cp6apbyk] {
	background-color: #f0fdf4;
	border-color: #22c55e;
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}

.choice-list li.wrong-card[b-k0cp6apbyk] {
	background-color: #fef2f2;
	border-color: #ef4444;
	box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}

/* --- BADGES --- */
.selected-badge[b-k0cp6apbyk], .correct-badge[b-k0cp6apbyk], .wrong-badge[b-k0cp6apbyk] {
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-left: 15px;
	animation: popIn-b-k0cp6apbyk 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.selected-badge[b-k0cp6apbyk] {
	background-color: #3b82f6;
}

.correct-badge[b-k0cp6apbyk] {
	background-color: #22c55e;
}

.wrong-badge[b-k0cp6apbyk] {
	background-color: #ef4444;
}

@keyframes popIn-b-k0cp6apbyk {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* =========================================
   3. MOBILE RESPONSIVENESS (The Stacked Header)
========================================= */
@media (max-width: 768px) {
	.test-layout[b-k0cp6apbyk] {
		display: block; /* Turns off Grid so the header can stick and slide down */
		padding: 0;
	}

	.left-panel[b-k0cp6apbyk] {
		position: sticky;
		top: 0;
		z-index: 100;
		display: flex;
		flex-direction: column; /* Stack vertically */
		align-items: center;
		padding: 15px;
		background-color: #ffffff;
		border-radius: 0 0 15px 15px;
		border-bottom: 1px solid #ddd;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
		width: 100%; /* Fixes the horizontal scrolling bug */
		box-sizing: border-box;
	}

	/* 1. NEW: The wrapper takes over the centering and spacing */
	.image-wrapper[b-k0cp6apbyk] {
		position: relative;
		align-self: center;
		margin-bottom: 15px; /* Moved this from the image to the wrapper */
		cursor: pointer;
	}

	/* 2. UPDATED: The image itself (just removed margin-bottom and align-self) */
	.header-image[b-k0cp6apbyk] {
		width: 120px;
		height: 120px;
		object-fit: cover;
		object-position: 50% 15%;
		border-radius: 50%;
		border: 3px solid #f0f0f0;
		box-shadow: 0 4px 10px rgba(0,0,0,0.05);
		display: block; /* Removes weird spacing below images */
	}

	/* 3. NEW: The slick zoom badge */
	.zoom-indicator[b-k0cp6apbyk] {
		position: absolute;
		bottom: 0px;
		right: 0px;
		background-color: #3b82f6; /* Nice bright blue */
		color: white;
		border-radius: 50%;
		width: 32px;
		height: 32px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 1rem;
		box-shadow: 0 2px 6px rgba(0,0,0,0.2);
		border: 2px solid #ffffff; /* Gives it a cut-out look against the image */
		transition: transform 0.2s ease;
	}

	/* When tapped, give the badge a little pop! */
	.image-wrapper:active .zoom-indicator[b-k0cp6apbyk] {
		transform: scale(0.9);
	}

	.left-panel h3[b-k0cp6apbyk] {
		display: none;
	}

	.mobile-button-group[b-k0cp6apbyk] {
		width: 100%;
		display: flex;
		flex-direction: column;
	}

	/* Full-width Submit Button below the image */
	.submit-btn[b-k0cp6apbyk] {
		width: 100%;
		margin-top: 0;
		padding: 12px;
		font-size: 1.1rem;
		font-weight: bold;
		border-radius: 8px;
	}

	/* FLOATING TOP-RIGHT REFRESH ICON */
	.refresh-btn[b-k0cp6apbyk] {
		position: absolute; /* Pulls it out of the flow */
		top: 15px;
		right: 15px; /* Pins it to the top right of the panel */

		width: 40px;
		height: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0;
		font-size: 1.3rem;
		color: #555;
		background-color: #f8f9fa;
		border: 1px solid #e0e0e0;
		border-radius: 50%;
		box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	}

	.desktop-divider[b-k0cp6apbyk] {
		display: none;
	}

	.right-panel[b-k0cp6apbyk] {
		border-left: none;
		padding: 15px;
	}
}
/* =========================================
   5. IMAGE MODAL / LIGHTBOX
========================================= */

/* Add a pointer cursor and subtle hover effect to the small profile image */
.header-image[b-k0cp6apbyk] {
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

	.header-image:hover[b-k0cp6apbyk] {
		transform: scale(1.05); /* Grows slightly when hovered */
		box-shadow: 0 8px 20px rgba(0,0,0,0.15);
	}

/* The dark background that covers the whole screen */
.image-modal-overlay[b-k0cp6apbyk] {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.85); /* 85% opacity black */
	backdrop-filter: blur(5px); /* Blurs the app in the background (modern touch!) */
	z-index: 9999; /* Force it to the very top */

	display: flex;
	justify-content: center;
	align-items: center;
	animation: fadeInModal-b-k0cp6apbyk 0.2s ease-out forwards;
}

/* The giant version of the picture */
.image-modal-content[b-k0cp6apbyk] {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.5);
	object-fit: contain; /* Ensures the whole uncropped image fits on screen */

	animation: zoomInImage-b-k0cp6apbyk 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* The floating X button in the top right */
.image-modal-close[b-k0cp6apbyk] {
	position: absolute;
	top: 20px;
	right: 30px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	font-size: 1.5rem;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background 0.2s;
}

	.image-modal-close:hover[b-k0cp6apbyk] {
		background: rgba(255, 255, 255, 0.4);
	}

/* Slick Animations */
@keyframes fadeInModal-b-k0cp6apbyk {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes zoomInImage-b-k0cp6apbyk {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}
/* =========================================
   6. NEXT ROUND GLOW ANIMATION
========================================= */

/* The "Ready to Move On" glowing button */
.pulse-next-btn[b-k0cp6apbyk] {
	background-color: #22c55e !important; /* Bright success green */
	color: white !important;
	border-color: #22c55e !important;
	transform: scale(1.05); /* Makes the button physically pop out */
	z-index: 10; /* Ensures the glow overlaps other elements */
	/* The continuous ripple animation */
	animation: pulse-green-b-k0cp6apbyk 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

	/* Ensure any icons inside turn white when it glows */
	.pulse-next-btn i[b-k0cp6apbyk] {
		color: white !important;
	}

/* The expanding glow effect */
@keyframes pulse-green-b-k0cp6apbyk {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	}

	70% {
		box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

/* =========================================
   7. INSTRUCTION BANNER
========================================= */
.instruction-banner[b-k0cp6apbyk] {
	background-color: #f0f9ff; /* Very soft, inviting blue */
	color: #0369a1; /* Deep, readable blue */
	border: 1px solid #bae6fd;
	padding: 15px 20px;
	border-radius: 12px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
	animation: slideDownFade 0.4s ease-out forwards;
}

	.instruction-banner .icon[b-k0cp6apbyk] {
		font-size: 1.4rem;
		color: #0ea5e9;
		margin-top: -2px; /* Aligns the icon perfectly with the text */
	}

/* On mobile, shrink the text just a tiny bit to save space */
@media (max-width: 768px) {
	.instruction-banner[b-k0cp6apbyk] {
		font-size: 0.95rem;
		padding: 12px 15px;
	}
}
/* _content/MemoryGame.Web/Components/Pages/Memory/WeekRemember.razor.rz.scp.css */
/* =========================================
   1. LAYOUT CONTROLS & BASICS
========================================= */
.test-layout[b-knzgxjvpwc] {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 2rem;
	max-width: 1200px;
	margin: 0;
	padding: 20px;
	align-items: start;
}

/* --- STICKY CONVERSATION PROFILE LEFT CARD --- */
.left-panel[b-knzgxjvpwc] {
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	border: 1px solid #f0f0f0;
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5rem;
}

.image-wrapper[b-knzgxjvpwc] {
	position: relative;
	cursor: pointer;
	margin-bottom: 10px;
}

.header-image[b-knzgxjvpwc] {
	width: 150px;
	height: 150px;
	object-fit: cover;
	object-position: top center;
	border-radius: 50%;
	border: 4px solid #e9ecef;
	box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.zoom-indicator[b-knzgxjvpwc] {
	position: absolute;
	bottom: 5px;
	right: 5px;
	background-color: #0d6efd;
	color: white;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 0.9rem;
	border: 2px solid #ffffff;
}

.status-indicator[b-knzgxjvpwc] {
	font-size: 0.85rem;
	color: #198754;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

	.status-indicator .dot[b-knzgxjvpwc] {
		width: 8px;
		height: 8px;
		background-color: #198754;
		border-radius: 50%;
		display: inline-block;
	}

/* --- RIGHT PANEL LAYOUT --- */
.right-panel[b-knzgxjvpwc] {
	border-left: 1px solid #e0e0e0;
	padding-left: 2rem;
}

/* =========================================
   2. TEXTING THREAD & BUBBLE MECHANICS
========================================= */
.chat-wrapper[b-knzgxjvpwc] {
	border: 1px solid #eef0f2;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.chat-header[b-knzgxjvpwc] {
	background-color: #f8f9fa;
}

.chat-feed[b-knzgxjvpwc] {
	display: flex;
	flex-direction: column;
	background-color: #f4f6f8;
	min-height: 350px;
}

/* Incoming Message Bubble (Left Align) */
.chat-bubble-incoming[b-knzgxjvpwc] {
	align-self: flex-start;
	background-color: #ffffff;
	color: #212529;
	padding: 1rem 1.25rem;
	border-radius: 4px 18px 18px 18px;
	max-width: 85%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.04);
	margin-bottom: 1.5rem;
	position: relative;
	border: 1px solid #eaeaea;
}

/* Outgoing History Bubble (Right Align Flat text) */
.chat-bubble-outgoing[b-knzgxjvpwc] {
	align-self: flex-end;
	background-color: #e1f5fe;
	color: #0288d1;
	padding: 1rem 1.25rem;
	border-radius: 18px 18px 4px 18px;
	max-width: 85%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.03);
	margin-bottom: 1.5rem;
	border: 1px solid #b3e5fc;
	font-weight: 500;
}

.message-text[b-knzgxjvpwc] {
	line-height: 1.6;
	font-size: 1.1rem;
	white-space: pre-wrap; /* Keeps your standard \n line breaks working! */
}

	/* --- NEW: Image handling for rich media chat bubbles --- */
	.message-text[b-knzgxjvpwc]  img {
		max-width: 100%;
		height: auto;
		border-radius: 8px;
		box-shadow: 0 2px 6px rgba(0,0,0,0.1);
		display: block; /* REQUIRED: Tells the image to take up its own line */
		margin: 10px auto 5px auto; /* REQUIRED: Centers the image horizontally */
	}

/* Outgoing Interactive Action Button */
.reply-wrapper[b-knzgxjvpwc] {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 100%;
}

.btn-reply[b-knzgxjvpwc] {
	align-self: flex-end;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	padding: 1rem 1.5rem;
	max-width: 85%;
	text-align: right;
	border-radius: 18px 18px 4px 18px;
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.4;
	border: none;
	box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
	transition: all 0.2s ease-in-out;
}

.btn-reply-primary[b-knzgxjvpwc] {
	background-color: #0d6efd;
	color: white;
}

	.btn-reply-primary:hover[b-knzgxjvpwc] {
		background-color: #0b5ed7;
		transform: scale(1.02);
	}

.btn-reply-success[b-knzgxjvpwc] {
	background-color: #198754;
	color: white;
	box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

	.btn-reply-success:hover[b-knzgxjvpwc] {
		background-color: #157347;
		transform: scale(1.02);
	}

/* --- COLLAPSIBLE MEMO PANEL STYLES --- */
.memos-collapsible-wrapper[b-knzgxjvpwc] {
	background-color: #ffffff;
	border: 1px solid #eef0f2;
	border-radius: 12px;
	overflow: hidden;
	margin-top: 2rem;
}

.toggle-memos-btn[b-knzgxjvpwc] {
	background: #ffffff;
	text-align: left;
	border: none;
	transition: background-color 0.15s ease;
}

	.toggle-memos-btn:hover[b-knzgxjvpwc] {
		background-color: #f8f9fa;
	}

.memo-card[b-knzgxjvpwc] {
	border-radius: 8px;
	border-left: 3px solid #ffc107 !important;
}

/* =========================================
   3. RESPONSIVE COMPACT LAYOUTS (Mobile)
========================================= */
@media (max-width: 768px) {
	.test-layout[b-knzgxjvpwc] {
		display: block;
		padding: 0;
	}

	.left-panel[b-knzgxjvpwc] {
		position: sticky;
		top: 0;
		z-index: 100;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 15px;
		background-color: #ffffff;
		border-radius: 0; /* CHANGED: This is where the 0 goes to fix the mobile peek-a-boo bug! */
		border-bottom: 1px solid #ddd;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
		width: 100%;
		box-sizing: border-box;
	}

	.image-wrapper[b-knzgxjvpwc] {
		position: relative;
		align-self: center;
		margin-bottom: 15px;
		cursor: pointer;
	}

	.header-image[b-knzgxjvpwc] {
		width: 120px; /* Matched the Test page size */
		height: 120px;
		object-fit: cover;
		object-position: 50% 15%;
		border-radius: 50%;
		border: 3px solid #f0f0f0;
		box-shadow: 0 4px 10px rgba(0,0,0,0.05);
		display: block;
	}

	.zoom-indicator[b-knzgxjvpwc] {
		position: absolute;
		bottom: 0px;
		right: 0px;
		background-color: #0d6efd;
		color: white;
		border-radius: 50%;
		width: 32px;
		height: 32px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 1rem;
		box-shadow: 0 2px 6px rgba(0,0,0,0.2);
		border: 2px solid #ffffff;
		transition: transform 0.2s ease;
	}

	.image-wrapper:active .zoom-indicator[b-knzgxjvpwc] {
		transform: scale(0.9);
	}

	.status-indicator[b-knzgxjvpwc] {
		display: none;
	}

	.chat-name[b-knzgxjvpwc] {
		font-size: 1.5rem;
		margin: 0 0 10px 0 !important;
		padding-left: 0;
		text-align: center; /* Centered beautifully under the image */
		width: 100%;
	}

	.left-panel .border-top[b-knzgxjvpwc] {
		border-top: none !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
		width: 100% !important;
	}

	.left-panel .badge[b-knzgxjvpwc] {
		font-size: 0.9rem !important;
		padding: 8px 12px !important;
		display: block;
		margin: 0 auto;
	}

	.right-panel[b-knzgxjvpwc] {
		border-left: none;
		padding: 15px;
	}

	/* --- THE ULTIMATE MOBILE BUBBLE & IMAGE FIX --- */
	.chat-bubble-incoming[b-knzgxjvpwc], .chat-bubble-outgoing[b-knzgxjvpwc], .btn-reply[b-knzgxjvpwc] {
		max-width: 95%;
		box-sizing: border-box !important; /* Stops the padding from expanding the bubble off-screen */
		min-width: 0 !important; /* The magic Flexbox rule that forces GIFs to shrink */
	}

	.message-text[b-knzgxjvpwc] {
		width: 100%;
		min-width: 0;
		word-wrap: break-word; /* Safety net so long text doesn't break the bubble either */
	}

		.message-text[b-knzgxjvpwc]  img {
			max-width: 100% !important;
			height: auto !important;
			max-height: 250px !important;
			object-fit: contain !important;
			border-radius: 8px;
			display: block; /* Already here, perfect */
			margin: 10px auto 5px auto !important; /* Forces centering on mobile */
		}
}

/* Animations */
.entry-fade[b-knzgxjvpwc] {
	animation: chatSlideIn-b-knzgxjvpwc 0.35s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes chatSlideIn-b-knzgxjvpwc {
	0% {
		opacity: 0;
		transform: translateY(15px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-pulse[b-knzgxjvpwc] {
	animation: replyPulse-b-knzgxjvpwc 2s infinite;
}

@keyframes replyPulse-b-knzgxjvpwc {
	0% {
		box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.5);
	}

	70% {
		box-shadow: 0 0 0 12px rgba(25, 135, 84, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
	}
}

.image-modal-overlay[b-knzgxjvpwc] {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(5px);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image-modal-content[b-knzgxjvpwc] {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 12px;
	object-fit: contain;
}

.image-modal-close[b-knzgxjvpwc] {
	position: absolute;
	top: 20px;
	right: 30px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	font-size: 1.5rem;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}
