.skills-screen{padding:2rem;max-width:1400px;margin:0 auto}.skills-header{margin-bottom:2rem;text-align:center;position:relative}.skills-header h1{font-size:2rem;color:#1f2937;margin-bottom:.5rem}.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.category-card{background:#fff;border-radius:12px;padding:1.5rem;border:2px solid transparent;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.category-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001a}.category-card.featured{border-color:currentColor}.category-icon{width:60px;height:60px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:2rem;margin-bottom:1rem}.category-card h3{font-size:1.25rem;color:#1f2937;margin-bottom:.5rem}.category-description{color:#6b7280;font-size:.9rem;margin-bottom:1rem;line-height:1.5}.category-stats{display:flex;gap:1rem;font-size:.875rem;color:#6b7280}.featured-badge{position:absolute;top:10px;right:10px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.tests-container{min-height:400px}.tests-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:2rem}.test-card{background:#fff;border-radius:12px;padding:1.5rem;cursor:pointer;transition:all .3s ease;border:1px solid #e5e7eb}.test-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001a;border-color:#3b82f6}.test-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.test-header h3{font-size:1.125rem;color:#1f2937;flex:1}.difficulty-badge{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;color:#fff;text-transform:capitalize;white-space:nowrap}.test-description{color:#6b7280;font-size:.9rem;line-height:1.5;margin-bottom:1rem}.test-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;padding:1rem;background:#f9fafb;border-radius:8px}.info-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#4b5563}.info-icon{font-size:1rem}.test-stats{display:flex;gap:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.stat{flex:1;text-align:center}.stat-label{display:block;font-size:.75rem;color:#6b7280;margin-bottom:.25rem}.stat-value{display:block;font-size:1.125rem;font-weight:600;color:#1f2937}.certificate-badge{margin-top:1rem;padding:.5rem;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;text-align:center;border-radius:8px;font-size:.875rem;font-weight:600}.skills-footer{display:flex;gap:1rem;justify-content:center;margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.view-proficiency-btn,.view-certificates-btn{padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.view-proficiency-btn{background:#3b82f6;color:#fff}.view-proficiency-btn:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.view-certificates-btn{background:#10b981;color:#fff}.view-certificates-btn:hover{background:#059669;transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:1rem}.empty-state{text-align:center;padding:3rem;color:#6b7280;font-size:1.1rem}[dir=rtl] .skills-screen{direction:rtl}@media (max-width: 768px){.skills-screen{padding:1rem}.skills-header h1{font-size:1.5rem}.categories-grid,.tests-grid{grid-template-columns:1fr}.skills-footer{flex-direction:column}.view-proficiency-btn,.view-certificates-btn{width:100%}}.test-taking-screen{min-height:100vh;background:#f9fafb;padding-bottom:2rem}.instructions-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:2rem}.instructions-card{background:#fff;border-radius:16px;padding:2.5rem;max-width:700px;width:100%;box-shadow:0 4px 20px #0000001a}.instructions-card h1{font-size:2rem;color:#1f2937;margin-bottom:2rem;text-align:center}.test-overview{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:2rem}.overview-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:12px}.overview-item .icon{font-size:2rem}.overview-item strong{display:block;color:#6b7280;font-size:.875rem;font-weight:500;margin-bottom:.25rem}.overview-item p{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0}.instructions-text{margin-bottom:2rem;padding:1.5rem;background:#eff6ff;border-left:4px solid #3b82f6;border-radius:8px}.instructions-text h3{color:#1f2937;margin-bottom:.75rem}.instructions-text p{color:#4b5563;line-height:1.6}.previous-attempt{margin-bottom:1.5rem;padding:1rem;background:#fef3c7;border-radius:8px}.previous-attempt h3{color:#92400e;font-size:.875rem;margin-bottom:.5rem}.previous-attempt p{color:#78350f;margin:0}.cannot-attempt-warning{margin-bottom:1.5rem;padding:1rem;background:#fee2e2;color:#991b1b;border-radius:8px;text-align:center;font-weight:600}.instructions-actions{display:flex;gap:1rem;justify-content:flex-end}.test-header{background:#fff;padding:1.5rem 2rem;box-shadow:0 2px 8px #0000000d;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100}.test-progress{flex:1;max-width:400px}.progress-bar{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#2563eb);transition:width .3s ease}.progress-text{font-size:.875rem;color:#6b7280}.timer{font-size:1.5rem;font-weight:600;color:#1f2937;padding:.5rem 1.5rem;background:#f3f4f6;border-radius:8px}.timer.warning{background:#fee2e2;color:#dc2626;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.question-container{max-width:900px;margin:2rem auto;background:#fff;border-radius:16px;padding:2rem;box-shadow:0 2px 8px #0000000d}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.question-number{font-size:1.125rem;font-weight:600;color:#3b82f6}.question-points{font-size:.875rem;color:#6b7280;padding:.25rem .75rem;background:#f3f4f6;border-radius:20px}.question-content{margin-bottom:2rem}.question-content h2{font-size:1.25rem;color:#1f2937;line-height:1.6;margin-bottom:1rem}.question-image{max-width:100%;border-radius:8px;margin:1rem 0}.question-code{background:#1f2937;color:#e5e7eb;padding:1rem;border-radius:8px;overflow-x:auto;font-family:Monaco,Courier New,monospace;font-size:.875rem;line-height:1.5}.answer-section{margin-bottom:2rem}.options-list{display:flex;flex-direction:column;gap:.75rem}.option-item{display:flex;align-items:center;padding:1rem;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.option-item:hover{background:#eff6ff;border-color:#3b82f6}.option-item input[type=radio]{width:20px;height:20px;margin-right:1rem;cursor:pointer}.option-item input[type=radio]:checked+.option-text{color:#3b82f6;font-weight:600}.option-text{flex:1;color:#1f2937;line-height:1.5}.answer-textarea{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;transition:border-color .2s}.answer-textarea:focus{outline:none;border-color:#3b82f6}.coding-editor{border:2px solid #e5e7eb;border-radius:8px;overflow:hidden}.editor-header{background:#1f2937;color:#e5e7eb;padding:.75rem 1rem;font-size:.875rem;font-weight:600}.code-textarea{width:100%;padding:1rem;border:none;font-family:Monaco,Courier New,monospace;font-size:.875rem;line-height:1.5;background:#f9fafb;resize:vertical}.code-textarea:focus{outline:none}.question-navigation{display:flex;justify-content:space-between;gap:1rem;padding-top:2rem;border-top:2px solid #e5e7eb}.question-map{max-width:900px;margin:2rem auto;background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 2px 8px #0000000d}.question-map h4{color:#1f2937;margin-bottom:1rem;font-size:1rem}.question-dots{display:flex;flex-wrap:wrap;gap:.75rem}.question-dot{width:40px;height:40px;border:2px solid #e5e7eb;background:#fff;border-radius:8px;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s}.question-dot:hover{border-color:#3b82f6;transform:translateY(-2px)}.question-dot.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.question-dot.answered{background:#10b981;color:#fff;border-color:#10b981}.question-dot.answered.active{background:#059669;border-color:#059669}.btn-primary,.btn-secondary,.btn-outline{padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.btn-primary{background:#3b82f6;color:#fff}.btn-secondary{background:#f3f4f6;color:#1f2937}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.btn-outline{background:#fff;color:#dc2626;border:2px solid #dc2626}.btn-outline:hover{background:#dc2626;color:#fff}[dir=rtl] .option-item input[type=radio]{margin-right:0;margin-left:1rem}@media (max-width: 768px){.test-taking-screen{padding-bottom:1rem}.instructions-container{padding:1rem}.instructions-card{padding:1.5rem}.test-overview{grid-template-columns:1fr}.test-header{flex-direction:column;gap:1rem;padding:1rem}.test-progress{width:100%;max-width:none}.question-container{margin:1rem;padding:1.5rem}.question-navigation{flex-direction:column}.question-map{margin:1rem}.question-dots{gap:.5rem}.question-dot{width:35px;height:35px;font-size:.875rem}}.test-results-screen{min-height:100vh;background:#f9fafb;padding:2rem}.results-container{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;gap:2rem}.score-card{background:#fff;border-radius:16px;padding:2.5rem;text-align:center;box-shadow:0 4px 20px #0000001a;position:relative}.result-badge{position:absolute;top:1.5rem;right:1.5rem;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.875rem}.result-badge.passed{background:#d1fae5;color:#065f46}.result-badge.failed{background:#fee2e2;color:#991b1b}.score-card h1{font-size:1.75rem;color:#1f2937;margin-bottom:2rem}.score-circle{position:relative;width:200px;height:200px;margin:0 auto 2rem}.score-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.score-value{display:block;font-size:3rem;font-weight:700;color:#1f2937;line-height:1}.score-label{display:block;font-size:.875rem;color:#6b7280;margin-top:.5rem}.result-stats{display:flex;justify-content:center;gap:3rem;margin-bottom:2rem}.stat-item{display:flex;align-items:center;gap:1rem}.stat-icon{font-size:2rem}.stat-item strong{display:block;color:#6b7280;font-size:.875rem;font-weight:500;margin-bottom:.25rem}.stat-item p{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0}.result-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-retry{background:#3b82f6;color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-retry:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.btn-certificate{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-certificate:hover{transform:translateY(-2px);box-shadow:0 4px 12px #fbbf244d}.btn-secondary{background:#f3f4f6;color:#1f2937;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#e5e7eb}.btn-primary{background:#3b82f6;color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary:hover:not(:disabled){background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed}.ai-analysis-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 2px 8px #0000000d}.ai-analysis-card h2{font-size:1.5rem;color:#1f2937;margin-bottom:1.5rem}.no-analysis{text-align:center;color:#6b7280;margin-bottom:1rem}.analysis-section{margin-bottom:2rem}.analysis-section:last-child{margin-bottom:0}.analysis-section h3{font-size:1.125rem;color:#1f2937;margin-bottom:1rem}.analysis-section p{color:#4b5563;line-height:1.6}.analysis-section ul{list-style:none;padding:0}.analysis-section li{padding:.75rem 1rem;margin-bottom:.5rem;border-radius:8px;line-height:1.5}.strength-item{background:#d1fae5;color:#065f46}.weakness-item{background:#fee2e2;color:#991b1b}.recommendation-item{background:#dbeafe;color:#1e40af}.skill-levels{display:flex;flex-direction:column;gap:.75rem}.skill-level-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f9fafb;border-radius:8px}.skill-name{font-weight:600;color:#1f2937}.skill-level{padding:.25rem .75rem;background:#3b82f6;color:#fff;border-radius:20px;font-size:.875rem;font-weight:600}.answers-review-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 2px 8px #0000000d}.answers-review-card h2{font-size:1.5rem;color:#1f2937;margin-bottom:1.5rem}.answers-list{display:flex;flex-direction:column;gap:1rem}.answer-item{padding:1.5rem;border-radius:12px;border:2px solid #e5e7eb}.answer-item.correct{border-color:#10b981;background:#f0fdf4}.answer-item.incorrect{border-color:#ef4444;background:#fef2f2}.answer-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.answer-number{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border-radius:50%;font-weight:600;color:#1f2937}.answer-status{font-size:1.25rem}.answer-points{margin-left:auto;font-size:.875rem;color:#6b7280;font-weight:600}.answer-question{color:#1f2937;font-weight:600;margin-bottom:1rem;line-height:1.5}.answer-response{margin-bottom:1rem}.answer-response strong{display:block;color:#6b7280;font-size:.875rem;margin-bottom:.5rem}.answer-response p{color:#1f2937;margin:0}.correct-answer{color:#065f46!important;font-weight:600}.wrong-answer{color:#991b1b!important;text-decoration:line-through}.text-answer{padding:1rem;background:#fff;border-radius:8px;line-height:1.6}.code-answer{padding:1rem;background:#1f2937;color:#e5e7eb;border-radius:8px;overflow-x:auto;font-family:Monaco,Courier New,monospace;font-size:.875rem;line-height:1.5}.answer-feedback{padding:1rem;border-radius:8px;margin-top:1rem}.answer-feedback strong{display:block;margin-bottom:.5rem}.ai-feedback{background:#eff6ff;border-left:4px solid #3b82f6}.grader-feedback{background:#fef3c7;border-left:4px solid #f59e0b}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem}@media (max-width: 768px){.test-results-screen{padding:1rem}.score-card{padding:1.5rem}.result-badge{position:static;display:inline-block;margin-bottom:1rem}.score-card h1{font-size:1.5rem}.score-circle{width:150px;height:150px}.score-value{font-size:2rem}.result-stats{flex-direction:column;gap:1rem}.result-actions{flex-direction:column;width:100%}.result-actions button{width:100%}.ai-analysis-card,.answers-review-card{padding:1.5rem}.answer-item{padding:1rem}}.proficiency-screen{min-height:100vh;background:#f9fafb;padding:2rem}.proficiency-container{max-width:1200px;margin:0 auto}.proficiency-header{text-align:center;margin-bottom:3rem;position:relative}.proficiency-header h1{font-size:2rem;color:#1f2937;margin-bottom:.5rem}.proficiencies-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:3rem}.proficiency-card{background:#fff;border-radius:12px;padding:1.5rem;border:2px solid;box-shadow:0 2px 8px #0000000d;transition:all .3s ease}.proficiency-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001a}.prof-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.prof-icon{width:50px;height:50px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.prof-info{flex:1}.prof-info h3{font-size:1.125rem;color:#1f2937;margin-bottom:.25rem}.prof-attempts{font-size:.875rem;color:#6b7280}.trend-icon{font-size:1.5rem}.prof-level{margin-bottom:1rem}.level-bar{height:12px;background:#e5e7eb;border-radius:6px;overflow:hidden;margin-bottom:.75rem}.level-fill{height:100%;transition:width .5s ease}.level-labels{display:flex;justify-content:space-between;align-items:center}.level-badge{padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:600;color:#fff;text-transform:capitalize}.level-score{font-size:1.25rem;font-weight:700;color:#1f2937}.prof-footer{padding-top:1rem;border-top:1px solid #e5e7eb}.last-assessed{font-size:.75rem;color:#9ca3af}.skill-gap-section{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 2px 8px #0000000d}.skill-gap-section h2{font-size:1.75rem;color:#1f2937;margin-bottom:.5rem}.gap-input-container{display:flex;gap:1rem;margin-bottom:2rem}.career-input{flex:1;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.career-input:focus{outline:none;border-color:#3b82f6}.btn-analyze{background:#10b981;color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-analyze:hover:not(:disabled){background:#059669;transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.btn-analyze:disabled{background:#9ca3af;cursor:not-allowed}.gap-results{display:grid;grid-template-columns:250px 1fr;gap:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.gap-overview{text-align:center}.gap-overview h3{font-size:1.25rem;color:#1f2937;margin-bottom:1.5rem}.gap-circle{position:relative;width:150px;height:150px;margin:0 auto}.gap-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.gap-value{display:block;font-size:2rem;font-weight:700;color:#1f2937;line-height:1}.gap-label{display:block;font-size:.75rem;color:#6b7280;margin-top:.25rem}.gap-details{display:flex;flex-direction:column;gap:2rem}.gap-section h4{font-size:1.125rem;color:#1f2937;margin-bottom:1rem}.skills-tags{display:flex;flex-wrap:wrap;gap:.5rem}.skill-tag{padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600}.skill-tag.current{background:#d1fae5;color:#065f46}.skill-tag.missing{background:#fee2e2;color:#991b1b}.recommended-tests{display:flex;flex-direction:column;gap:.75rem}.test-recommendation{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s;text-align:left}.test-recommendation:hover{background:#eff6ff;border-color:#3b82f6;transform:translate(4px)}.test-title{font-weight:600;color:#1f2937}.test-category{font-size:.875rem;color:#6b7280}.learning-path{display:flex;flex-direction:column;gap:1.5rem}.learning-step{display:flex;gap:1rem;position:relative}.learning-step:not(:last-child):after{content:"";position:absolute;left:18px;top:40px;width:2px;height:calc(100% + 1.5rem);background:#e5e7eb}.step-number{width:36px;height:36px;background:#3b82f6;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;position:relative;z-index:1}.step-content{flex:1;padding-bottom:.5rem}.step-content h5{font-size:1rem;color:#1f2937;margin-bottom:.5rem}.step-content p{color:#6b7280;line-height:1.5;margin-bottom:.5rem}.step-time{font-size:.875rem;color:#9ca3af}[dir=rtl] .proficiency-screen{direction:rtl}[dir=rtl] .test-recommendation:hover{transform:translate(-4px)}@media (max-width: 968px){.gap-results{grid-template-columns:1fr}.gap-overview{order:-1}}@media (max-width: 768px){.proficiency-screen{padding:1rem}.proficiency-header h1{font-size:1.5rem}.proficiencies-grid{grid-template-columns:1fr}.skill-gap-section{padding:1.5rem}.gap-input-container{flex-direction:column}.btn-analyze{width:100%}}.certificates-screen{min-height:100vh;background:#f9fafb;padding:2rem}.certificates-container{max-width:1200px;margin:0 auto}.certificates-header{text-align:center;margin-bottom:3rem;position:relative}.back-button{position:absolute;left:0;top:0;background:#f3f4f6;border:none;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:1rem;transition:all .2s}.back-button:hover{background:#e5e7eb;transform:translate(-2px)}.certificates-header h1{font-size:2rem;color:#1f2937;margin-bottom:.5rem}.subtitle{color:#6b7280;font-size:1.1rem}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d}.empty-icon{font-size:5rem;margin-bottom:1rem;opacity:.3}.empty-state p{font-size:1.125rem;color:#6b7280;margin-bottom:1rem}.empty-hint{font-size:.875rem;color:#9ca3af}.btn-primary{background:#3b82f6;color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;margin-top:1rem;transition:all .2s}.btn-primary:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.certificates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem;margin-bottom:3rem}.certificate-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;padding:2rem;color:#fff;position:relative;overflow:hidden;box-shadow:0 8px 20px #00000026;transition:all .3s ease}.certificate-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #0003}.certificate-card.expired{background:linear-gradient(135deg,#6b7280,#4b5563);opacity:.7}.certificate-card:before{content:"";position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:shimmer 3s infinite}@keyframes shimmer{0%,to{transform:translate(0)}50%{transform:translate(10%,10%)}}.cert-badge{position:absolute;top:1.5rem;right:1.5rem;width:60px;height:60px;display:flex;align-items:center;justify-content:center;position:relative}.badge-icon{font-size:2.5rem;position:relative;z-index:2;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.badge-rays{position:absolute;width:100%;height:100%;background:radial-gradient(circle,rgba(255,223,0,.3) 0%,transparent 70%);animation:rotate 8s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cert-content{position:relative;z-index:1}.cert-content h3{font-size:1.5rem;margin-bottom:.5rem;font-weight:700}.cert-category{font-size:.875rem;opacity:.9;margin-bottom:1.5rem}.cert-details{background:#ffffff26;border-radius:12px;padding:1rem;margin-bottom:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.detail-item{display:flex;justify-content:space-between;margin-bottom:.5rem}.detail-item:last-child{margin-bottom:0}.detail-label{font-size:.875rem;opacity:.8}.detail-value{font-weight:600;font-size:.875rem}.detail-value.mono{font-family:Monaco,Courier New,monospace;background:#0003;padding:.25rem .5rem;border-radius:4px}.expired-text{color:#fca5a5!important}.expired-banner{background:#dc2626e6;padding:.5rem;border-radius:8px;text-align:center;margin-bottom:1rem;font-weight:600;font-size:.875rem}.btn-download{width:100%;background:#fff;color:#667eea;padding:.75rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-download:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #ffffff4d}.btn-download:disabled{opacity:.5;cursor:not-allowed}.verification-section{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 2px 8px #0000000d}.verification-section h2{font-size:1.75rem;color:#1f2937;margin-bottom:.5rem}.section-description{color:#6b7280;margin-bottom:2rem}.verification-input-container{display:flex;gap:1rem;margin-bottom:2rem}.verification-input{flex:1;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-family:Monaco,Courier New,monospace;text-transform:uppercase;transition:border-color .2s}.verification-input:focus{outline:none;border-color:#3b82f6}.btn-verify{background:#10b981;color:#fff;padding:.75rem 1.5rem;border-radius:8px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.btn-verify:hover:not(:disabled){background:#059669;transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.btn-verify:disabled{background:#9ca3af;cursor:not-allowed}.verification-result{background:#f0fdf4;border:2px solid #10b981;border-radius:12px;padding:1.5rem}.result-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.result-icon{font-size:2rem}.result-header h3{color:#065f46;font-size:1.25rem;margin:0}.result-details{display:flex;flex-direction:column;gap:.75rem}.result-item{display:flex;justify-content:space-between;padding:.75rem;background:#fff;border-radius:8px}.result-item strong{color:#6b7280;font-weight:600}.result-item span{color:#1f2937;font-weight:500}.valid-status{color:#10b981!important;font-weight:700!important}.invalid-status{color:#ef4444!important;font-weight:700!important}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem}.spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}[dir=rtl] .certificates-screen{direction:rtl}[dir=rtl] .back-button{left:auto;right:0}[dir=rtl] .back-button:hover{transform:translate(2px)}@media (max-width: 768px){.certificates-screen{padding:1rem}.certificates-header h1{font-size:1.5rem}.certificates-grid{grid-template-columns:1fr}.verification-section{padding:1.5rem}.verification-input-container{flex-direction:column}.btn-verify{width:100%}}
