.navbar{background-color:var(--primary-color);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;color:#fff;box-shadow:0 4px 6px #0000001a}.navbar-link{color:#fff;text-decoration:none;margin-right:1rem;font-size:1.2rem;transition:color .3s ease}.navbar-link:hover{color:#dcedc8}.navbar-button{background-color:#fff;color:var(--primary-color);font-size:1rem;font-weight:700;border:none;padding:.6em 1.2em;border-radius:8px;cursor:pointer;transition:background-color .3s ease,transform .2s}.navbar-button:hover{background-color:#388e3c;color:#fff;transform:translateY(-2px)}.navbar-button:active{transform:translateY(0)}.homepage{padding:2rem;text-align:center;flex-direction:column;align-items:center;height:100vh;max-width:var(--max-width);margin:0 auto;padding:0;box-sizing:border-box;overflow:hidden}.search-bar{width:100%;padding:.8em 1em;font-size:1rem;border:1px solid #ddd;border-radius:8px;margin-bottom:1.5rem;transition:border-color .3s ease}.search-bar:focus{border-color:var(--primary-color);outline:none}.post-list{display:flex;flex-direction:column;gap:.8rem;flex:1;width:100%;max-width:800px;overflow-y:auto;margin:1rem auto;padding:0 1.5rem 0 1rem;height:calc(100vh - 250px);box-sizing:border-box}.post{position:relative;background-color:#fff;width:100%;max-width:800px;margin:0 auto 2rem;padding:1.5rem;border-radius:8px;box-shadow:var(--box-shadow);box-sizing:border-box}.post h2{margin:0;font-size:1.5rem;color:var(--primary-color);text-align:left;font-family:Georgia,Times New Roman,serif;font-weight:700}.post p{margin:.5rem 0;font-size:1.1rem;color:#333;text-align:left;font-family:Arial,Roboto,sans-serif;line-height:1.6}.post small{color:#555;font-size:.9rem}.post button{margin-top:.5rem}button{border-radius:12px;border:1px solid transparent;padding:.8em 1.5em;font-size:1rem;font-weight:700;background-color:var(--primary-color);color:#fff;cursor:pointer;box-shadow:0 4px 6px #0000001a;transition:transform .2s,box-shadow .2s,border-color .25s}button:hover{transform:translateY(-2px);box-shadow:0 6px 8px #0003}button.delete-button{padding:.5rem 1rem;background-color:red;color:#fff;border:none;border-radius:4px;cursor:pointer}button.delete-button:hover{background-color:#8b0000}.create-post-form{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:800px;padding:1.5rem;background-color:#fff;border-radius:8px;box-shadow:var(--box-shadow);box-sizing:border-box}.create-post-form input,.create-post-form textarea{display:block;width:100%;margin-bottom:1rem;padding:.8em;font-size:1rem;border:1px solid #ddd;border-radius:8px;box-sizing:border-box}.create-post-form textarea{min-height:100px;resize:vertical}.create-post-form button{padding:.8em 1.5em;font-size:1rem;background-color:var(--primary-color);color:#fff;border:none;border-radius:8px;cursor:pointer}.create-post-form button:hover{background-color:#388e3c}@media (max-width: 768px){.post{width:90%;padding:.8rem}.post h2{font-size:1.2rem}.create-post-form{width:90%}}.delete-button{position:absolute;top:5px;right:5px;background-color:transparent;border:none;font-size:1rem;color:#888;cursor:pointer;transition:color .3s ease}.delete-button:hover{color:red}.post-footer{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;margin-top:1rem;border-top:1px solid #ddd}.like-section{display:flex;align-items:center;gap:.5rem}.like-button{background-color:transparent;border:none;font-size:.8rem;color:var(--primary-color);cursor:pointer;transition:transform .2s ease,color .3s ease}.like-button:hover{color:#388e3c;transform:scale(1.1)}.like-section span{font-size:1rem;color:#555}.post-date{font-size:var(--font-size-small);color:var(--secondary-color);white-space:nowrap}.comment-button{display:flex;align-items:center;border:none;background:none;cursor:pointer;padding:8px}.comment-icon{width:32px;height:32px;margin-right:8px}.comment-text{font-size:16px;color:green;font-weight:700}.comments-section{margin-top:1rem;padding-left:1rem}.comment-item{display:flex;position:relative;background-color:#f0f8ff;border:1px solid #d6e9f5;border-radius:8px;padding:.8rem;margin-bottom:.8rem;max-width:90%}.comment-content-wrapper{display:flex;justify-content:space-between;align-items:flex-start}.comment-content{font-size:1rem;color:#333}.comment-timestamp{font-size:.8rem;color:#555;margin-top:.5rem;text-align:right;position:absolute;bottom:8px;right:8px;z-index:5}.delete-comment-button{position:absolute;top:6px;right:6px;background-color:#ffebee;border:1px solid #ff4d4f;color:#ff4d4f;font-size:1rem;padding:2px 4px;border-radius:2px;cursor:pointer;z-index:10}.delete-comment-button:hover{background-color:#ff4d4f;color:#fff;border-color:red}.new-comment-input{width:90%;margin-top:.5rem;padding:.5rem;border:1px solid #d6e9f5;border-radius:8px;font-size:1rem}.create-comment-button{margin-top:.5rem;padding:.5rem 1rem;background-color:#007bff;color:#fff;border:none;border-radius:8px;cursor:pointer}.create-comment-button:hover{background-color:#0056b3}.comment-username{font-size:1rem;font-weight:700;color:#007bff;margin-bottom:.5rem;display:block}.post-header{display:flex;align-items:center;gap:.5rem}.avatar-circle{width:30px;height:30px;border-radius:50%}.avatar-circle-small{width:20px;height:20px;border-radius:50%;margin-right:.5rem}.login-page{padding:2rem;text-align:center;background-color:var(--background-color);min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-page h1{font-size:2.5rem;color:var(--primary-color);margin-bottom:1.5rem}.login-form{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:400px;padding:1.5rem;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;box-sizing:border-box}.login-form input{padding:.8em 1em;font-size:1rem;border:1px solid #ddd;border-radius:8px;transition:border-color .3s ease}.login-form input:focus{border-color:var(--primary-color);outline:none}.login-form button{padding:.8em 1.2em;font-size:1rem;font-weight:700;background-color:var(--primary-color);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease,transform .2s}.login-form button:hover{background-color:#388e3c;transform:translateY(-2px)}.login-form button:disabled{background-color:#9e9e9e;cursor:not-allowed}.toggle-button{margin-top:1.5rem;font-size:1rem;color:var(--primary-color);background:none;border:none;cursor:pointer;text-decoration:underline;transition:color .3s ease}.toggle-button:hover{color:#0056b3}@media (max-width: 768px){.login-page{padding:1rem}.login-form{width:90%}}.user-page{padding:2rem;background-color:var(--background-color);min-height:100vh}.user-page h1{font-size:2.5rem;color:var(--primary-color);margin-bottom:1.5rem}.profile-info{margin-bottom:2rem;padding:1.5rem;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center;position:relative}.profile-info p{margin:.5rem 0;font-size:1.1rem;color:#555}.avatar-section{text-align:center;margin-bottom:1rem}.avatar-circle{width:100px;height:100px;border-radius:50%;object-fit:cover;margin-bottom:1rem}.edit-description{margin-bottom:1.5rem}.edit-description textarea{width:100%;padding:.8em;font-size:1rem;border:1px solid #ddd;border-radius:8px;resize:vertical;transition:border-color .3s ease}.edit-description textarea:focus{border-color:var(--primary-color);outline:none}.edit-description button{margin-top:.5rem;padding:.8em 1.2em;font-size:1rem;background-color:#4caf50;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.edit-description button:hover{background-color:#388e3c}.edit-description .cancel-button{background-color:#9e9e9e;margin-left:1rem}.edit-description .cancel-button:hover{background-color:#757575}.user-posts{margin-top:2rem}.user-posts h2{font-size:2rem;margin-bottom:1rem;color:var(--primary-color)}.user-posts .post{padding:1rem;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:1rem}.user-posts .post p{margin:.5rem 0;font-size:1.1rem;color:#333}.user-posts .post small{display:block;color:#777;font-size:.9rem}.error-message{color:red;font-size:1.1rem;text-align:center}@media (max-width: 768px){.user-page,.profile-info{padding:1rem}.user-posts .post{padding:.8rem}.edit-description textarea{font-size:.9rem}}.description-text{font-size:2rem;font-weight:700;margin:1.5rem 0;color:var(--primary-color);text-align:center;font-family:Georgia,serif;transition:all .3s ease}.style-controls label{display:block;margin:.5rem 0;font-size:1rem}.style-controls input[type=color],.style-controls select{margin-left:.5rem;padding:.2rem;font-size:1rem;border:1px solid #ddd;border-radius:4px;transition:border-color .3s ease}.style-controls input[type=color]:focus,.style-controls select:focus{border-color:var(--primary-color);outline:none}.delete-account-button{background-color:red;color:#fff;border:none;padding:10px 20px;font-size:16px;border-radius:5px;cursor:pointer;position:absolute;bottom:10px;right:10px}.delete-account-button:hover{background-color:#8b0000}.delete-account-button:disabled{background-color:gray;cursor:not-allowed}:root{--primary-color: #4CAF50;--background-color: #f4f4f9;--text-color: #333;--secondary-color: #555;--accent-color: #388e3c;--max-width: 1400px;--box-padding: 1.5rem;--font-family: "Inter", system-ui, Avenir, Helvetica, Arial, sans-serif;--font-size-base: 1rem;--font-size-small: .9rem;--font-line-height: 1.5;--spacing-small: .5rem;--spacing-medium: 1rem;--spacing-large: 2rem;--box-shadow: 0px 4px 6px rgba(0, 0, 0, .1);font-family:var(--font-family);line-height:var(--font-line-height);font-weight:400;color-scheme:light dark;color:var(--text-color);background-color:var(--background-color);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;min-width:320px;min-height:100vh;background-color:var(--background-color);color:var(--text-color);font-family:var(--font-family);line-height:var(--font-line-height);box-sizing:border-box}a{font-weight:500;color:var(--primary-color);text-decoration:none;transition:color .3s ease}a:hover{color:var(--accent-color)}h1{font-family:Poppins,sans-serif;font-size:2.5rem;color:var(--primary-color);line-height:1.2;margin-bottom:1rem}#root{width:100%;max-width:var(--max-width);margin:0 auto;padding:2rem;box-sizing:border-box}
