.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.navbar{background-color:#fbcfe8;position:fixed;width:100%;height:65px;z-index:20;top:0;left:0;border-bottom:1px solid #f472b6;display:flex;align-items:center;flex-wrap:wrap}.navbar-container{max-width:1280px;width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:0 auto;padding:0 1rem;height:100%}.logo{display:flex;align-items:center;gap:.75rem;text-decoration:none;height:100%}.logo-img{height:32px}.logo-text{font-size:1.5rem;font-weight:600;white-space:nowrap;color:#7e22ce;margin:0}.navbar-buttons{display:flex;order:2;gap:.5rem;align-items:center;height:100%;flex-wrap:wrap}.login-btn{color:#7e22ce;background-color:transparent;font-weight:500;border-radius:.5rem;font-size:.875rem;padding:.5rem 1.25rem;text-align:center;border:2px solid #7e22ce;cursor:pointer;transition:all .3s ease;height:40px}.login-btn:hover{background-color:#7e22ce1a}.signup-btn{color:#fff;background-color:#7e22ce;font-weight:500;border-radius:.5rem;font-size:.875rem;padding:.5rem 1.25rem;text-align:center;border:none;cursor:pointer;transition:background-color .3s ease;height:40px}.signup-btn:hover{background-color:#6b21a8}.hamburger-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;width:40px;height:40px;font-size:.875rem;color:#7e22ce;border-radius:.5rem;border:none;cursor:pointer;transition:background-color .3s ease}.hamburger-btn:hover{background-color:#f9a8d4}.hamburger-icon{width:24px;height:24px}.menu-items{display:none;width:100%;position:absolute;top:75px;left:0;background-color:#fce7f3;z-index:10}.menu-items.show{display:block}.menu-list{display:flex;flex-direction:column;padding:1rem;font-weight:500;border:1px solid #f9a8d4;border-radius:0 0 .5rem .5rem;gap:.75rem;list-style:none;margin:0}.menu-link{display:block;padding:.75rem 1rem;color:#7e22ce;border-radius:.25rem;text-decoration:none;transition:all .3s ease}.menu-link:hover,.menu-link.active{background-color:#f9a8d4}@media (max-width: 640px){.login-btn,.signup-btn{padding:.4rem .8rem;font-size:.8rem}}@media (min-width: 768px){.hamburger-btn{display:none}.menu-items{display:flex;position:static;width:auto;order:1;background-color:transparent;top:auto}.menu-list{flex-direction:row;padding:0;border:none;background-color:transparent;gap:1.5rem;align-items:center;height:100%}.menu-link{padding:.5rem 1rem;position:relative;display:flex;align-items:center;border-radius:.25rem}.menu-link:hover{background-color:#f9a8d4;color:#7e22ce}.menu-link.active{background-color:transparent;color:#7e22ce}.menu-link.active:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:3px;background-color:#7e22ce}}.profile-picture{width:40px;height:40px;border-radius:50%;cursor:pointer}.profile-picture:hover{outline:2px solid #7e22ce}.navbar-buttons{display:flex;align-items:center;gap:.75rem}@media (max-width: 768px){.profile-pic{width:36px;height:36px}}.contribute-btn{color:#fff;background-color:#7e22ce;font-weight:500;border-radius:.5rem;font-size:.875rem;padding:.5rem 1.25rem;text-align:center;border:none;cursor:pointer;transition:background-color .3s ease;margin-left:1rem}.contribute-btn:hover{background-color:#6b21a8}.login-container{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#00000080;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:50}.login-form{background-color:#fff;padding:2rem;border-radius:.5rem;box-shadow:0 0 10px #0000001a;width:350px}.login-title{text-align:center;color:#7e22ce;font-size:1.5rem;margin-bottom:1.5rem}.signup-container{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#00000080;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:50}.signup-form{background-color:#fff;padding:2rem;border-radius:.5rem;box-shadow:0 0 10px #0000001a;width:400px}.signup-title{text-align:center;color:#7e22ce;font-size:1.5rem;margin-bottom:1.5rem}.input-field{width:100%;padding:.5rem;margin-bottom:1rem;border:1px solid #d1d5db;border-radius:.25rem}.submit-btn{background-color:#7e22ce;color:#fff;width:100%;padding:.5rem;border:none;border-radius:.25rem;cursor:pointer;transition:background-color .3s ease}.submit-btn:hover{background-color:#6b21a8}.contribute-container{position:fixed;top:65px;left:0;width:100%;height:calc(100% - 65px);overflow-y:auto;display:flex;flex-direction:column;align-items:center;background-color:#00000080;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:50;padding:2rem 1rem;box-sizing:border-box}.contribute-title{color:#334155;font-size:1.75rem;text-align:center;margin-bottom:1rem;font-weight:600}.contribute-form{display:flex;flex-direction:column;gap:1rem;background-color:#fce7f3;padding:2rem;border-radius:8px;box-shadow:0 4px 8px #0000001a;width:90%;max-width:600px}.contribute-form input,.contribute-form textarea,.contribute-form select{padding:.75rem;font-size:1rem;border:1px solid #ddd;border-radius:5px}.contribute-form button{background-color:#7e22ce;color:#fff;padding:.75rem;font-size:1rem;border:none;border-radius:5px;cursor:pointer}.contribute-form button:hover{background-color:#6b21a8}.practice-container{display:flex;flex-direction:column;align-items:center;padding:2rem 1rem;padding-top:85px;min-height:100vh;width:100%;box-sizing:border-box;background-color:#fdf2f8}.practice-title{font-size:2.5rem;font-weight:700;color:#7e22ce;margin-bottom:2rem;text-align:center}.no-problems{margin-top:2rem;font-size:1.2rem;color:#666}.problem-list{width:100%;max-width:900px;display:flex;flex-direction:column;gap:1rem}.problem-card{background-color:#fff;border:1px solid #fbcfe8;border-radius:8px;padding:1rem 1.5rem;display:flex;justify-content:space-between;width:100%;align-items:center;transition:box-shadow .2s ease-in-out,transform .2s ease-in-out;cursor:pointer}.problem-card:hover{transform:translateY(-3px);box-shadow:0 4px 20px #7e22ce1a}.problem-name{font-size:1.2rem;font-weight:500;color:#374151}.problem-meta{display:flex;align-items:center;gap:1.5rem}.problem-difficulty{padding:.25rem .75rem;border-radius:9999px;font-weight:600;color:#fff;text-transform:capitalize}.problem-difficulty.easy{background-color:#10b981}.problem-difficulty.medium{background-color:#f59e0b}.problem-difficulty.hard{background-color:#ef4444}.problem-tags{color:#6b7280;font-style:italic}.problem-page-container{padding:2rem;max-width:900px;margin:0 auto;background-color:#fff7fc;min-height:100vh}.problem-details{margin-bottom:2rem}.problem-details h2{color:#7e22ce;margin-bottom:1rem}.description{white-space:pre-wrap;background:#fce7f3;padding:1rem;border-radius:8px;margin-bottom:1rem}.editor-section{display:flex;flex-direction:column;gap:1rem}.language-select{width:fit-content;padding:.5rem;font-size:1rem}.code-editor{width:100%;height:300px;font-family:monospace;font-size:1rem;padding:1rem;border:1px solid #ddd;border-radius:8px;background:#f9fafb}.submit-code-btn{background-color:#7e22ce;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:5px;cursor:pointer;font-size:1rem;width:fit-content}.submit-code-btn:hover{background-color:#6b21a8}.output-section pre{background-color:#e2e8f0;padding:1rem;border-radius:8px;white-space:pre-wrap}.markdown-output pre,.markdown-output code{background:#fae8ff;border-radius:6px;padding:.15em .7em;color:#701a75;font-family:Fira Mono,Menlo,Consolas,monospace;font-size:.98em;margin:.3em 0}.profile-container{padding:2rem;max-width:900px;margin:0 auto;background-color:#fff7fc;min-height:100vh;font-family:sans-serif}.profile-header{color:#7e22ce;margin-bottom:1rem;font-size:2rem}.user-info{background-color:#fce7f3;padding:1rem;border-radius:8px;margin-bottom:2rem}.user-info p{margin:.5rem 0;font-size:1rem}.stats-box{background-color:#f3e8ff;border:1px solid #e9d5ff;padding:1rem;border-radius:8px;margin-bottom:2rem;font-weight:700;color:#6b21a8}.submission-section{margin-top:2rem}.submission-title{color:#7e22ce;font-size:1.5rem;margin-bottom:1rem}.submission-table{width:100%;border-collapse:collapse;background-color:#faf5ff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.submission-table th,.submission-table td{padding:.75rem;text-align:left;border-bottom:1px solid #e9d5ff}.submission-table th{background-color:#ede9fe;color:#6b21a8}.submission-table td{font-size:.95rem}.accepted{color:green;font-weight:700}.failed{color:red;font-weight:700}@media (max-width: 768px){.profile-container{padding:1rem}.submission-table th,.submission-table td{padding:.5rem}}.home-container{padding:3rem 2rem;max-width:1000px;margin:0 auto;background-color:#fff7fc;min-height:100vh;display:flex;flex-direction:column;justify-content:center}.quote-section{text-align:center;margin-bottom:4rem}.main-quote{font-size:2.5rem;font-weight:700;color:#7e22ce;margin-bottom:.5rem;line-height:1.3}.quote-author{font-size:1.1rem;color:#6b7280;font-style:italic}.info-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}.info-card{background:#fce7f3;padding:1.5rem;border-radius:10px;box-shadow:0 4px 8px #0000000d}.info-card h2{color:#7e22ce;margin-bottom:.5rem}.info-card p{color:#374151}
