import{b as W}from"./chunk-CTXOKINH.js";import{b as Z,d as tt,g as et}from"./chunk-TAS7XC6E.js";import{a as X}from"./chunk-GMUETU5N.js";import"./chunk-3GOV5KJM.js";import"./chunk-TPLZKWZ7.js";import"./chunk-EGL4ZKWQ.js";import"./chunk-GPI43RSU.js";import{a as j,c as R,i as N}from"./chunk-6NRCTHHS.js";import"./chunk-RC3JXGN6.js";import{a as J,b as K}from"./chunk-N6VRXIQE.js";import"./chunk-GWD5A44H.js";import"./chunk-52JZ5I3Y.js";import{Aa as Y,C as F,j as L,u as Q,w as A,wa as H,x as $,ya as U,za as G}from"./chunk-COFYR5MX.js";import{Db as _,Eb as p,Hb as z,Ib as I,Kb as e,Lb as t,Mb as T,Tb as b,U as v,Xb as x,Za as o,Zb as d,da as O,i as q,ia as u,ic as B,ja as C,kc as V,lc as n,mc as g,nc as M,ob as D,ta as y}from"./chunk-2MUIW2M6.js";var it=(r,l)=>l.id;function ot(r,l){r&1&&(e(0,"div",1),T(1,"mat-spinner",4),e(2,"p",5),n(3,"Loading category details..."),t()())}function at(r,l){if(r&1){let i=b();e(0,"div",2)(1,"mat-card",6)(2,"mat-card-content")(3,"div",7)(4,"mat-icon",8),n(5,"error_outline"),t(),e(6,"h2"),n(7,"Oops! Something went wrong"),t(),e(8,"p"),n(9),t(),e(10,"div",9)(11,"button",10),x("click",function(){u(i);let c=d();return C(c.retry())}),e(12,"mat-icon"),n(13,"refresh"),t(),n(14," Try Again "),t(),e(15,"button",11),x("click",function(){u(i);let c=d();return C(c.goBack())}),e(16,"mat-icon"),n(17,"arrow_back"),t(),n(18," Back to Categories "),t()()()()()()}if(r&2){let i=d();o(9),g(i.error())}}function rt(r,l){r&1&&(e(0,"mat-chip",24)(1,"mat-icon"),n(2,"public"),t(),n(3," Guest Accessible "),t())}function ct(r,l){r&1&&(e(0,"mat-chip",24)(1,"mat-icon"),n(2,"lock"),t(),n(3," Login Required "),t())}function lt(r,l){if(r&1&&(e(0,"div",25)(1,"h2"),n(2,"Statistics"),t(),e(3,"div",33)(4,"mat-card",34)(5,"mat-card-content")(6,"div",35)(7,"mat-icon"),n(8,"quiz"),t()(),e(9,"h3"),n(10),t(),e(11,"p"),n(12,"Total Questions"),t()()(),e(13,"mat-card",34)(14,"mat-card-content")(15,"div",36)(16,"mat-icon"),n(17,"trending_up"),t()(),e(18,"h3"),n(19),t(),e(20,"p"),n(21,"Average Accuracy"),t()()(),e(22,"mat-card",34)(23,"mat-card-content")(24,"div",37)(25,"mat-icon"),n(26,"people"),t()(),e(27,"h3"),n(28),t(),e(29,"p"),n(30,"Total Attempts"),t()()(),e(31,"mat-card",34)(32,"mat-card-content")(33,"div",38)(34,"mat-icon"),n(35,"speed"),t()(),e(36,"h3"),n(37),t(),e(38,"p"),n(39,"Average Score"),t()()()()()),r&2){let i,a,c,m,f=d(2);o(10),g(((i=f.category())==null||i.stats==null?null:i.stats.totalQuestions)||0),o(9),M("",((a=f.category())==null||a.stats==null?null:a.stats.averageAccuracy)||0,"%"),o(9),g(((c=f.category())==null||c.stats==null?null:c.stats.totalAttempts)||0),o(9),M("",((m=f.category())==null||m.stats==null?null:m.stats.averageScore)||0,"%")}}function dt(r,l){if(r&1&&(e(0,"div",26)(1,"h2"),n(2,"Difficulty Breakdown"),t(),e(3,"div",39)(4,"mat-card",40)(5,"mat-card-content")(6,"mat-icon"),n(7,"sentiment_satisfied"),t(),e(8,"h3"),n(9),t(),e(10,"p"),n(11,"Easy"),t()()(),e(12,"mat-card",41)(13,"mat-card-content")(14,"mat-icon"),n(15,"sentiment_neutral"),t(),e(16,"h3"),n(17),t(),e(18,"p"),n(19,"Medium"),t()()(),e(20,"mat-card",42)(21,"mat-card-content")(22,"mat-icon"),n(23,"sentiment_very_dissatisfied"),t(),e(24,"h3"),n(25),t(),e(26,"p"),n(27,"Hard"),t()()()()()),r&2){let i,a,c,m=d(2);o(9),g(((i=m.category())==null||i.difficultyBreakdown==null?null:i.difficultyBreakdown.easy)||0),o(8),g(((a=m.category())==null||a.difficultyBreakdown==null?null:a.difficultyBreakdown.medium)||0),o(8),g(((c=m.category())==null||c.difficultyBreakdown==null?null:c.difficultyBreakdown.hard)||0)}}function gt(r,l){if(r&1&&(e(0,"mat-card",44)(1,"mat-card-content")(2,"div",45)(3,"span",46),n(4),t(),e(5,"mat-chip-set")(6,"mat-chip"),n(7),t(),e(8,"mat-chip"),n(9),t()()(),e(10,"p",47),n(11),t()()()),r&2){let i=l.$implicit,a=l.$index;o(4),M("#",a+1),o(2),V("difficulty-"+i.difficulty),o(),M(" ",i.difficulty," "),o(2),g(i.questionType),o(2),g(i.questionText)}}function st(r,l){if(r&1&&(e(0,"div",27)(1,"h2"),n(2,"Sample Questions"),t(),e(3,"div",43),z(4,gt,12,6,"mat-card",44,it),t()()),r&2){let i,a=d(2);o(4),I((i=a.category())==null?null:i.questionPreview)}}function mt(r,l){if(r&1){let i=b();e(0,"div",3)(1,"nav",12)(2,"ol")(3,"li")(4,"a",13),n(5,"Home"),t()(),e(6,"li")(7,"a",14),n(8,"Categories"),t()(),e(9,"li",15),n(10),t()()(),e(11,"mat-card",16)(12,"mat-card-content")(13,"div",17)(14,"div",18)(15,"mat-icon",19),n(16),t()(),e(17,"div",20)(18,"h1"),n(19),t(),e(20,"p",21),n(21),t(),e(22,"div",22)(23,"mat-chip-set",23)(24,"mat-chip",24)(25,"mat-icon"),n(26,"quiz"),t(),n(27),t(),_(28,rt,4,0,"mat-chip",24),_(29,ct,4,0,"mat-chip",24),t()()()()()(),_(30,lt,40,4,"div",25),_(31,dt,28,3,"div",26),_(32,st,6,0,"div",27),e(33,"div",28)(34,"h2"),n(35,"Ready to test your knowledge?"),t(),e(36,"p"),n(37,"Choose a difficulty level to start your quiz"),t(),e(38,"div",29)(39,"button",30),x("click",function(){u(i);let c=d();return C(c.startQuiz("easy"))}),e(40,"mat-icon"),n(41,"play_arrow"),t(),n(42," Start Easy Quiz "),t(),e(43,"button",30),x("click",function(){u(i);let c=d();return C(c.startQuiz("medium"))}),e(44,"mat-icon"),n(45,"play_arrow"),t(),n(46," Start Medium Quiz "),t(),e(47,"button",30),x("click",function(){u(i);let c=d();return C(c.startQuiz("hard"))}),e(48,"mat-icon"),n(49,"play_arrow"),t(),n(50," Start Hard Quiz "),t(),e(51,"button",31),x("click",function(){u(i);let c=d();return C(c.startQuiz("mixed"))}),e(52,"mat-icon"),n(53,"shuffle"),t(),n(54," Mixed Difficulty "),t()(),e(55,"button",32),x("click",function(){u(i);let c=d();return C(c.goBack())}),e(56,"mat-icon"),n(57,"arrow_back"),t(),n(58," Back to Categories "),t()()()}if(r&2){let i,a,c,m,f,P,w,S,E,k,h,s=d();o(10),g((i=s.category())==null?null:i.name),o(4),B("background-color",((a=s.category())==null?null:a.color)||"#2196F3"),o(2),g(((c=s.category())==null?null:c.icon)||"category"),o(3),g((m=s.category())==null?null:m.name),o(2),g((f=s.category())==null?null:f.description),o(6),M(" ",((P=s.category())==null||P.stats==null?null:P.stats.totalQuestions)||((P=s.category())==null?null:P.questionCount)||0," Questions "),o(),p((w=s.category())!=null&&w.guestAccessible?28:-1),o(),p((S=s.category())!=null&&S.guestAccessible?-1:29),o(),p((E=s.category())!=null&&E.stats?30:-1),o(),p((k=s.category())!=null&&k.difficultyBreakdown?31:-1),o(),p(!((h=s.category())==null||h.questionPreview==null)&&h.questionPreview.length?32:-1)}}var nt=class r{categoryService=O(X);route=O(Q);router=O(A);destroy$=new q;category=y(null);isLoading=y(!0);error=y(null);ngOnInit(){this.route.params.pipe(v(this.destroy$)).subscribe(l=>{let i=l.id;i&&this.loadCategoryDetails(i)})}loadCategoryDetails(l){this.isLoading.set(!0),this.error.set(null),this.categoryService.getCategoryById(l).pipe(v(this.destroy$)).subscribe({next:i=>{this.category.set(i),this.isLoading.set(!1)},error:i=>{this.error.set(i.error?.message||"Failed to load category details"),this.isLoading.set(!1)}})}startQuiz(l){let i=this.category();i&&this.router.navigate(["/quiz/setup"],{queryParams:{category:i.id,difficulty:l||"mixed"}})}goBack(){this.router.navigate(["/categories"])}retry(){let l=this.route.snapshot.params.id;l&&this.loadCategoryDetails(l)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.categoryService.clearSelectedCategory()}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=D({type:r,selectors:[["app-category-detail"]],decls:4,vars:3,consts:[[1,"category-detail-container"],[1,"loading-container"],[1,"error-container"],[1,"category-content"],["diameter","60"],[1,"loading-text"],[1,"error-card"],[1,"error-content"],[1,"error-icon"],[1,"error-actions"],["mat-raised-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],["aria-label","Breadcrumb",1,"breadcrumb"],["routerLink","/"],["routerLink","/categories"],["aria-current","page"],[1,"category-header"],[1,"header-content"],[1,"category-icon-wrapper"],[1,"category-icon"],[1,"header-text"],[1,"description"],[1,"metadata"],["aria-label","Category metadata"],[1,"stat-chip"],[1,"statistics-section"],[1,"difficulty-section"],[1,"questions-section"],[1,"actions-section"],[1,"action-buttons"],["mat-raised-button","","color","primary",1,"start-button",3,"click"],["mat-raised-button","","color","accent",1,"start-button",3,"click"],["mat-stroked-button","",1,"back-button",3,"click"],[1,"stats-grid"],[1,"stat-card"],[1,"stat-icon-wrapper","primary"],[1,"stat-icon-wrapper","success"],[1,"stat-icon-wrapper","accent"],[1,"stat-icon-wrapper","warn"],[1,"difficulty-grid"],[1,"difficulty-card","easy"],[1,"difficulty-card","medium"],[1,"difficulty-card","hard"],[1,"questions-list"],[1,"question-card"],[1,"question-header"],[1,"question-number"],[1,"question-text"]],template:function(i,a){i&1&&(e(0,"div",0),_(1,ot,4,0,"div",1),_(2,at,19,1,"div",2),_(3,mt,59,12,"div",3),t()),i&2&&(o(),p(a.isLoading()?1:-1),o(),p(a.error()&&!a.isLoading()?2:-1),o(),p(a.category()&&!a.isLoading()&&!a.error()?3:-1))},dependencies:[L,F,$,N,j,R,U,H,Y,G,et,Z,tt,K,J,W],styles:['@charset "UTF-8";.category-detail-container[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto;padding:24px}@media (max-width: 768px){.category-detail-container[_ngcontent-%COMP%]{padding:16px}}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:24px}.loading-container[_ngcontent-%COMP%] .loading-text[_ngcontent-%COMP%]{font-size:16px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6))}.error-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:400px}.error-container[_ngcontent-%COMP%] .error-card[_ngcontent-%COMP%]{max-width:500px;width:100%}.error-container[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px;gap:16px}.error-container[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:64px;width:64px;height:64px;color:var(--mdc-theme-error, #f44336)}.error-container[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;font-weight:500}.error-container[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6))}.error-container[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-actions[_ngcontent-%COMP%]{display:flex;gap:12px;margin-top:16px}@media (max-width: 480px){.error-container[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-actions[_ngcontent-%COMP%]{flex-direction:column;width:100%}}.breadcrumb[_ngcontent-%COMP%]{margin-bottom:24px}.breadcrumb[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{display:flex;list-style:none;padding:0;margin:0;gap:8px;flex-wrap:wrap}.breadcrumb[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px}.breadcrumb[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child):after{content:"\\203a";margin-left:8px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6))}.breadcrumb[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--mdc-theme-primary, #2196F3);text-decoration:none;transition:color .2s}.breadcrumb[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.breadcrumb[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[aria-current=page][_ngcontent-%COMP%]{color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6))}.category-header[_ngcontent-%COMP%]{margin-bottom:32px}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:flex-start}@media (max-width: 600px){.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{flex-direction:column;align-items:center;text-align:center}}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .category-icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:12px;flex-shrink:0}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .category-icon-wrapper[_ngcontent-%COMP%] .category-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;color:#fff}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex:1}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0 0 12px;font-size:32px;font-weight:600}@media (max-width: 600px){.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px}}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin:0 0 16px;font-size:16px;line-height:1.6;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6))}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%] .metadata[_ngcontent-%COMP%] .stat-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px}.category-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%] .metadata[_ngcontent-%COMP%] .stat-chip[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}.statistics-section[_ngcontent-%COMP%], .difficulty-section[_ngcontent-%COMP%], .questions-section[_ngcontent-%COMP%], .actions-section[_ngcontent-%COMP%]{margin-bottom:32px}.statistics-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .difficulty-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .questions-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .actions-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:24px;font-weight:600;margin:0 0 20px}.stats-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}@media (max-width: 600px){.stats-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 400px){.stats-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%]{text-align:center}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px!important}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .stat-icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .stat-icon-wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:28px;width:28px;height:28px;color:#fff}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .stat-icon-wrapper.primary[_ngcontent-%COMP%]{background-color:var(--mdc-theme-primary, #2196F3)}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .stat-icon-wrapper.success[_ngcontent-%COMP%]{background-color:#4caf50}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .stat-icon-wrapper.accent[_ngcontent-%COMP%]{background-color:var(--mdc-theme-secondary, #ff4081)}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] .stat-icon-wrapper.warn[_ngcontent-%COMP%]{background-color:#ff9800}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:28px;font-weight:600}.stats-grid[_ngcontent-%COMP%] .stat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:14px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6))}.difficulty-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card[_ngcontent-%COMP%]{text-align:center}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px!important}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:32px;font-weight:600}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:500}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card.easy[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .difficulty-grid[_ngcontent-%COMP%] .difficulty-card.easy[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .difficulty-grid[_ngcontent-%COMP%] .difficulty-card.easy[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#4caf50}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card.medium[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .difficulty-grid[_ngcontent-%COMP%] .difficulty-card.medium[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .difficulty-grid[_ngcontent-%COMP%] .difficulty-card.medium[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#ff9800}.difficulty-grid[_ngcontent-%COMP%] .difficulty-card.hard[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .difficulty-grid[_ngcontent-%COMP%] .difficulty-card.hard[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .difficulty-grid[_ngcontent-%COMP%] .difficulty-card.hard[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#f44336}.questions-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%]{transition:transform .2s,box-shadow .2s}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}@media (max-width: 480px){.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] .question-number[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:var(--mdc-theme-primary, #2196F3)}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] mat-chip.difficulty-Easy[_ngcontent-%COMP%]{background-color:#4caf50!important;color:#fff!important}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] mat-chip.difficulty-Medium[_ngcontent-%COMP%]{background-color:#ff9800!important;color:#fff!important}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-header[_ngcontent-%COMP%] mat-chip.difficulty-Hard[_ngcontent-%COMP%]{background-color:#f44336!important;color:#fff!important}.questions-list[_ngcontent-%COMP%] .question-card[_ngcontent-%COMP%] .question-text[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:1.6;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.actions-section[_ngcontent-%COMP%]{text-align:center}.actions-section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:28px;margin-bottom:12px}.actions-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .6));margin-bottom:24px}.actions-section[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}@media (max-width: 600px){.actions-section[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%]{grid-template-columns:1fr}}.actions-section[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{padding:16px 24px;font-size:16px;font-weight:500}.actions-section[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}.actions-section[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}']})};export{nt as CategoryDetailComponent};