*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#1e293b;line-height:1.6}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.btn{padding:.75rem 1.5rem;border-radius:.5rem;font-weight:500;cursor:pointer;border:none;transition:all .2s;font-size:1rem;display:inline-block;text-decoration:none}.btn-primary{background-color:#6366f1;color:#fff}.btn-primary:hover{background-color:#4f46e5}.btn-secondary{background-color:#ec4899;color:#fff}.btn-secondary:hover{background-color:#db2777}.input-field{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:1rem;transition:all .2s}.input-field:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}textarea.input-field{resize:vertical;font-family:inherit}.text-center{text-align:center}.mt-10{margin-top:2.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.rounded{border-radius:.5rem}.rounded-lg{border-radius:.75rem}.shadow-md{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.shadow-sm{box-shadow:0 1px 2px #0000000d}.bg-white{background-color:#fff}.bg-red-100{background-color:#fee2e2}.bg-blue-50{background-color:#eff6ff}.bg-blue-100{background-color:#dbeafe}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.text-red-500{color:#ef4444}.text-red-700{color:#b91c1c}.text-blue-800{color:#1e40af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-primary{color:#6366f1}.border{border:1px solid #e5e7eb}.border-t{border-top:1px solid #e5e7eb}.pt-4{padding-top:1rem}.w-full{width:100%}.max-w-md{max-width:28rem}.max-w-2xl{max-width:42rem}.min-h-screen{min-height:100vh}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.items-center{align-items:center}.items-start{align-items:flex-start}.space-x-4>*+*{margin-left:1rem}.space-y-4>*+*{margin-top:1rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.grid{display:grid}.font-bold{font-weight:700}.font-semibold{font-weight:600}.font-medium{font-weight:500}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.underline,.hover\:underline:hover{text-decoration:underline}.hover\:text-primary:hover{color:#6366f1}.hover\:text-gray-800:hover{color:#1f2937}.hover\:text-red-500:hover{color:#ef4444}.hover\:text-red-700:hover{color:#b91c1c}.transition-colors{transition-property:color,background-color,border-color;transition-duration:.2s}.transition-shadow{transition-property:box-shadow;transition-duration:.2s}.hover\:shadow-lg:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.h-32{height:8rem}.resize-none{resize:none}a{color:inherit;text-decoration:none}.navbar{background-color:#fff;box-shadow:0 1px 3px #0000001a}.navbar-container{max-width:1200px;margin:0 auto;padding:.75rem 1rem;display:flex;justify-content:space-between;align-items:center}.navbar-logo{font-size:1.25rem;font-weight:700;color:#6366f1;cursor:pointer}.navbar-logo:not(a){cursor:default}.navbar-menu{display:flex;align-items:center;gap:1rem}.navbar-welcome{color:#4b5563}.navbar-link{color:#4b5563;transition:color .2s}.navbar-link:hover{color:#6366f1}.navbar-logout{background:none;border:none;color:#4b5563;cursor:pointer;font-size:1rem;transition:color .2s}.navbar-logout:hover{color:#ef4444}.home-container{max-width:1200px;margin:0 auto;padding:2rem 1rem}.home-title{font-size:1.875rem;font-weight:700;margin-bottom:1.5rem;text-align:center}.queries-grid{display:grid;gap:1.5rem}.query-card{background-color:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a;transition:box-shadow .2s}.query-card:hover{box-shadow:0 10px 15px -3px #0000001a}.query-title{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;color:#6366f1;transition:text-decoration .2s}.query-title:hover{text-decoration:underline}.query-description{color:#4b5563;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden}.query-meta{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#6b7280;margin-bottom:.75rem}.query-tags{display:flex;gap:.5rem;flex-wrap:wrap}.tag{background-color:#f3f4f6;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;color:#4b5563}.no-queries{text-align:center;color:#6b7280;font-size:1.125rem;padding:3rem 1rem;background-color:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a}.query-card-delete{padding:.5rem 1rem;background-color:#ef4444;color:#4f0303;border:none;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:background-color .5s;flex:1;height:40px;font-weight:500}.query-card-delete:hover{background-color:#de3434}.query-actions{display:flex;gap:.5rem;margin-top:1rem}.edit-button{padding:.5rem 1rem;background-color:#4f46e5;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;transition:background-color .2s;flex:1;height:40px;font-weight:500}.edit-button:hover{background-color:#4338ca}.about-container{max-width:1200px;margin:0 auto;padding:3rem 1rem}.about-content{background-color:#fff;padding:3rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a}.about-title{font-size:2.5rem;font-weight:700;text-align:center;margin-bottom:2rem;color:#6366f1}.about-section{margin-bottom:2.5rem}.about-section h2{font-size:1.75rem;font-weight:600;margin-bottom:1rem;color:#1f2937}.about-section p{font-size:1.125rem;line-height:1.8;color:#4b5563;margin-bottom:1rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:1.5rem}.feature-card{background-color:#f9fafb;padding:1.5rem;border-radius:.5rem;text-align:center;transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature-card h3{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;color:#1f2937}.feature-card p{font-size:.95rem;color:#6b7280;margin:0}.features-list{list-style:none;padding:0;font-size:1.125rem}.features-list li{padding:.75rem 0;color:#4b5563;border-bottom:1px solid #e5e7eb}.features-list li:last-child{border-bottom:none}.about-link{color:#6366f1;font-weight:600;text-decoration:underline;transition:color .2s}.about-link:hover{color:#4f46e5}@media(max-width:768px){.about-content{padding:2rem 1.5rem}.about-title{font-size:2rem}.about-section h2{font-size:1.5rem}.features-grid{grid-template-columns:1fr}}.auth-container{display:flex;justify-content:center;align-items:center;min-height:80vh;padding:1rem}.auth-box{background-color:#fff;padding:2rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a;width:100%;max-width:28rem}.auth-title{font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;text-align:center}.error-message{background-color:#fee2e2;color:#b91c1c;padding:.75rem;border-radius:.5rem;margin-bottom:1rem}.form-group{margin-bottom:1rem}.form-label{display:block;color:#374151;margin-bottom:.5rem;font-weight:500}.auth-footer{margin-top:1rem;text-align:center;color:#4b5563}.auth-link{color:#6366f1;text-decoration:underline}.auth-link:hover{color:#4f46e5}.create-query-container{max-width:1200px;margin:0 auto;padding:2rem 1rem}.create-query-box{max-width:42rem;margin:0 auto;background-color:#fff;padding:2rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a}.create-query-title{font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.textarea-large{height:8rem;resize:none}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.btn-cancel{padding:.75rem 1.5rem;color:#4b5563;background:none;border:none;cursor:pointer;font-size:1rem;transition:color .2s}.btn-cancel:hover{color:#1f2937}.query-details-container{max-width:1200px;margin:0 auto;padding:2rem 1rem}.query-header-card{background-color:#fff;padding:2rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a;margin-bottom:2rem}.query-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.query-main-title{font-size:1.875rem;font-weight:700;color:#1f2937}.query-main-description{color:#374151;margin-bottom:1.5rem;white-space:pre-wrap;line-height:1.6}.query-tags-container{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.query-tag{background-color:#dbeafe;color:#1e40af;padding:.25rem .5rem;border-radius:.25rem;font-size:.875rem}.query-author-info{font-size:.875rem;color:#6b7280;border-top:1px solid #e5e7eb;padding-top:1rem}.author-name{font-weight:600}.delete-button{background:none;border:none;color:#ef4444;cursor:pointer;font-size:1rem;transition:color .2s}.delete-button:hover{color:#b91c1c}.answers-heading{font-size:1.5rem;font-weight:700;margin-bottom:1rem}.answers-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.answer-card{background-color:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;border:1px solid #e5e7eb}.answer-content{color:#1f2937;margin-bottom:1rem;white-space:pre-wrap;line-height:1.6}.answer-footer{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#6b7280}.answer-form-card{background-color:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 4px 6px -1px #0000001a}.answer-form-title{font-size:1.25rem;font-weight:700;margin-bottom:1rem}.submit-answer-btn{margin-top:1rem}.login-prompt{background-color:#eff6ff;padding:1rem;border-radius:.75rem;text-align:center}.login-prompt p{color:#1e40af}.login-link{text-decoration:underline;font-weight:700;color:#1e40af}.login-link:hover{color:#1e3a8a}.app-container{min-height:100vh;background-color:#f9fafb}
