.spinner__container{display:flex;justify-content:center;align-items:center;min-height:100vh;background-color:#fffc}.spinner{width:50px;height:50px;border:6px solid #e0e0e0;border-top:6px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.home-container{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;padding:2rem;background:#f8fafc;color:#1e293b}.hero-section{text-align:center;padding:4rem 2rem;background:linear-gradient(135deg,#38bdf8,#0ea5e9);color:#fff;border-radius:16px;box-shadow:0 10px 30px #0000001a}.hero-title{font-size:2.8rem;margin-bottom:1rem}.hero-subtitle{font-size:1.25rem;margin-bottom:2rem}.cta-button{padding:.75rem 1.5rem;font-size:1rem;font-weight:700;background-color:#1e293b;color:#fff;border:none;border-radius:8px;text-decoration:none;transition:background-color .3s ease}.cta-button:hover{background-color:#334155}.features-section{display:flex;justify-content:space-around;margin-top:3rem;flex-wrap:wrap;gap:2rem}.feature-card{flex:1 1 300px;background:#fff;padding:2rem;border-radius:12px;text-align:center;box-shadow:0 5px 15px #0000000d;transition:transform .3s ease}.feature-card:hover{transform:translateY(-5px)}.feature-card h3{margin-bottom:1rem;font-size:1.5rem;color:#0ea5e9}@media (max-width: 768px){.hero-title{font-size:2rem}.hero-subtitle{font-size:1rem}.features-section{flex-direction:column;align-items:center}}.document-container{padding:3rem 1.5rem;background:linear-gradient(to right,#f9fafb,#f1f5f9);min-height:100vh;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.document-heading{text-align:center;font-size:2.5rem;font-weight:700;color:#0f172a;margin-bottom:2rem;text-shadow:1px 1px 2px #cbd5e1}.search-input{display:block;margin:0 auto 2.5rem;padding:12px 18px;width:100%;max-width:500px;border:none;border-radius:8px;font-size:1rem;background:#fff;box-shadow:0 4px 12px #00000014;transition:box-shadow .3s ease}.search-input:focus{outline:none;box-shadow:0 0 0 3px #3b82f680}.document-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;padding-bottom:3rem}.document-card{background:#fff;border-radius:14px;padding:1.8rem;box-shadow:0 8px 24px #0f172a14;transition:transform .25s ease,box-shadow .3s ease;display:flex;flex-direction:column;justify-content:space-between;border-left:5px solid #3b82f6}.document-card:hover{transform:translateY(-6px);box-shadow:0 12px 32px #1e293b1f}.doc-title{font-size:1.5rem;color:#1e3a8a;font-weight:600;margin-bottom:.75rem;line-height:1.2}.doc-title-link{text-decoration:none;color:#1d4ed8}.doc-title-link:hover{color:#2563eb;text-decoration:underline}.doc-content{font-size:1rem;color:#334155;line-height:1.6;margin-bottom:1.2rem;overflow:hidden;text-overflow:ellipsis;max-height:80px}.doc-meta{font-size:.85rem;color:#64748b;display:flex;flex-direction:column;gap:4px;margin-top:auto;border-top:1px solid #e2e8f0;padding-top:.8rem}.loading-text,.no-docs{text-align:center;font-size:1.1rem;color:#64748b;margin-top:2rem}@media (max-width: 768px){.document-container{padding:2rem 1rem}.doc-title{font-size:1.25rem}.doc-content{font-size:.95rem}}.share-link{font-size:.75rem;margin-top:8px;color:#334155;word-break:break-word}.share-link code{background-color:#f1f5f9;padding:2px 6px;border-radius:4px;font-family:monospace}.mydoc-container{max-width:960px;margin:3rem auto;padding:2rem;background:linear-gradient(to bottom right,#f8fafc,#e2e8f0);border-radius:16px;box-shadow:0 20px 40px #0000000f}.mydoc-card{background:#fff;padding:1.5rem 2rem;margin-bottom:1.5rem;border-left:6px solid #3b82f6;border-radius:12px;box-shadow:0 10px 24px #0000000d;transition:all .3s ease-in-out}.mydoc-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #00000014}.mydoc-card h3{margin-bottom:.6rem;color:#0f172a;font-size:1.4rem;font-weight:700}.mydoc-card p{margin-bottom:1rem;color:#334155;font-size:1rem;line-height:1.6}.doc-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.9rem;margin-bottom:1rem;color:#475569;font-weight:500}.doc-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.doc-buttons button{padding:.6rem 1.2rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;font-size:.95rem;transition:all .2s ease-in-out;box-shadow:0 3px 8px #00000012}.edit-btn{background-color:#0ea5e9;color:#fff}.edit-btn:hover{background-color:#0284c7}.delete-btn{background-color:#ef4444;color:#fff}.delete-btn:hover{background-color:#dc2626}.toggle-btn{background-color:#10b981;color:#fff}.toggle-btn:hover{background-color:#059669}.cancel-btn{background:#e2e8f0;color:#1e293b;padding:.5rem 1rem;border:none;border-radius:6px;font-weight:500}.cancel-btn:hover{background:#cbd5e1}.doc-title-input,.doc-content-input{width:100%;font-size:1rem;padding:.8rem 1rem;margin-bottom:1rem;border:1px solid #cbd5e1;border-radius:10px;background-color:#f8fafc;transition:border .2s ease-in-out}.doc-title-input:focus,.doc-content-input:focus{border-color:#3b82f6;outline:none;background-color:#fff}.save-status{font-size:.85rem;color:#16a34a;margin-bottom:.5rem;font-weight:500}@media (max-width: 768px){.doc-meta,.doc-buttons{flex-direction:column}.doc-buttons button{width:100%}.mydoc-card{padding:1.25rem}}.login-container{max-width:400px;margin:4rem auto;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 8px 20px #0000001a}.login-container h2{text-align:center;color:#1e1e2f;margin-bottom:1.5rem}.login-container input{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ccc;border-radius:8px;font-size:1rem}.login-container button{width:100%;padding:.75rem;background:#4fbcff;color:#fff;border:none;font-size:1rem;border-radius:8px;cursor:pointer;transition:.3s}.login-container button:hover{background:#2aaae3}.login-container p{text-align:center;margin-top:1rem}.login-container a{color:#4fbcff;text-decoration:none}@media screen and (max-width: 480px){.login-container{margin:2rem 1rem;padding:1.5rem}}.signup-container{max-width:400px;margin:4rem auto;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 8px 20px #0000001a}.signup-container h2{text-align:center;margin-bottom:1.5rem;color:#1e1e2f}.signup-container input,.signup-container select{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ccc;border-radius:8px;font-size:1rem}.signup-container button{width:100%;padding:.75rem;background:#4fbcff;color:#fff;border:none;font-size:1rem;border-radius:8px;cursor:pointer;transition:.3s}.signup-container button:hover{background:#2aaae3}.signup-container p{text-align:center}.signup-container a{color:#4fbcff;text-decoration:none}@media screen and (max-width: 480px){.signup-container{margin:2rem 1rem;padding:1.5rem}}.navbar{display:flex;justify-content:space-between;align-items:center;background:#1e293b;padding:.75rem 2rem;color:#fff;position:sticky;top:0;z-index:100}.navbar__logo{font-size:1.5rem;font-weight:700;color:#38bdf8}.navbar__links{list-style:none;display:flex;gap:1.5rem;align-items:center}.navbar__links li a{text-decoration:none;color:#fff;font-weight:500;padding:.5rem .75rem;border-radius:5px;transition:background .3s ease}.navbar__links li a:hover{background-color:#334155;color:#38bdf8}.navbar__toggle{display:none;font-size:1.5rem;cursor:pointer}.navbar__links.show{display:flex}.logout-button{background:transparent;border:none;color:#fff;font-weight:500;padding:.5rem .75rem;border-radius:5px;cursor:pointer;font-size:1rem;transition:background .3s ease,color .3s ease}.logout-button:hover{background-color:#334155;color:#38bdf8}@media (max-width: 768px){.navbar__links{display:none;flex-direction:column;position:absolute;top:60px;right:2rem;background-color:#1e293b;padding:1rem;border-radius:8px;width:max-content}.navbar__links.show{display:flex}.navbar__toggle{display:block}.navbar__links li a,.logout-button{width:100%;text-align:left;padding:.75rem 1rem}}.reset-container{max-width:400px;margin:4rem auto;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 8px 20px #0000001a}.reset-container h2{text-align:center;color:#1e1e2f;margin-bottom:1.5rem}.reset-container input{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ccc;border-radius:8px;font-size:1rem}.reset-container button{width:100%;padding:.75rem;background:#4fbcff;color:#fff;border:none;font-size:1rem;border-radius:8px;cursor:pointer;transition:.3s}.reset-container button:hover{background:#2aaae3}@media screen and (max-width: 480px){.reset-container{margin:2rem 1rem;padding:1.5rem}}.forgot-container{max-width:400px;margin:4rem auto;background:#fff;padding:2rem;border-radius:12px;box-shadow:0 8px 20px #0000001a}.forgot-container h2{text-align:center;color:#1e1e2f;margin-bottom:1.5rem}.forgot-container input{width:100%;padding:.75rem;margin-bottom:1.2rem;border:1px solid #ccc;border-radius:8px;font-size:1rem}.forgot-container button{width:100%;padding:.75rem;background:#4fbcff;color:#fff;border:none;font-size:1rem;border-radius:8px;cursor:pointer;transition:.3s}.forgot-container button:hover{background:#2aaae3}@media screen and (max-width: 480px){.forgot-container{margin:2rem 1rem;padding:1.5rem}}.create-doc-container{max-width:700px;margin:auto;padding:2rem 1rem;background-color:#f8fafc;border-radius:10px;box-shadow:0 0 10px #00000014}.create-doc-container h2{text-align:center;color:#0f172a;margin-bottom:1.5rem}.create-doc-form{display:flex;flex-direction:column;gap:1rem}.create-doc-form input,.create-doc-form textarea{padding:.75rem 1rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;font-family:inherit;transition:border .3s ease}.create-doc-form input:focus,.create-doc-form textarea:focus{outline:none;border-color:#3b82f6}.create-doc-form button{padding:.75rem 1rem;background-color:#3b82f6;color:#fff;border:none;font-size:1rem;border-radius:8px;cursor:pointer;transition:background .3s ease}.create-doc-form button:hover{background-color:#2563eb}.error-text{color:red;font-size:.9rem;margin-top:-.5rem}@media (max-width: 768px){.create-doc-container{padding:1rem}.create-doc-form input,.create-doc-form textarea,.create-doc-form button{font-size:.95rem}}.document-detail-container{max-width:800px;margin:30px auto;padding:24px;background-color:#fff;border-radius:10px;box-shadow:0 4px 12px #0000001a;font-family:Segoe UI,sans-serif}.document-detail-container h2{font-size:28px;margin-bottom:10px;color:#333}.document-detail-container p{font-size:18px;color:#444;line-height:1.6;margin-bottom:20px}.doc-meta{font-size:14px;color:#777;margin-top:10px;display:flex;gap:20px;flex-wrap:wrap}code{background-color:#f4f4f4;padding:4px 8px;border-radius:6px;font-size:14px;color:#333}.error{color:red;font-weight:700;text-align:center;margin-top:30px}
