*{margin:0;padding:0;box-sizing:border-box}body{background:#f5f5f5}a{text-decoration:none;color:inherit;line-height:1;cursor:pointer}.container{padding-left:5%;padding-right:5%}.btn{background:#fff;color:#212121;padding:14px 25px;font-size:16px;border-radius:30px;cursor:pointer;border:0;outline:0;display:inline-flex;align-items:center;justify-content:center}.btn img{width:25px;margin-left:10px}.social-navbar{position:fixed;top:0;left:0;width:100%;z-index:1000;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:12px 24px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-image:linear-gradient(#0009,#0009),url(/assets/Hero-DJbDaBvp.jpg);background-size:cover;background-position:center;background-repeat:no-repeat;box-shadow:0 2px 6px #00000026}.left{flex:0 0 auto}.left h2{margin:0;font-size:24px;font-weight:600;color:#fff}.center{display:flex;justify-content:center;align-items:center;flex:1;gap:24px;font-size:20px}.icon{cursor:pointer;transition:transform .2s ease}.icon:hover{transform:scale(1.2);color:#ffeb3b}.right{display:flex;align-items:center;flex:0 0 auto;position:relative}.user-info{display:flex;align-items:center;gap:12px}.welcome-msg{font-size:16px;font-weight:500;margin:0;color:#e3f2fd}.profile-pic{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #fff}.user-icon{font-size:28px;cursor:pointer;color:#fff;transition:color .2s ease}.user-icon:hover{color:#ffeb3b}.dropdown{position:relative}.dropdown-content{position:absolute;top:42px;right:0;background-color:#fff;color:#333;min-width:160px;border-radius:6px;box-shadow:0 8px 16px #0003;z-index:999;overflow:hidden;animation:fadeIn .3s ease}.dropdown-content a{display:block;padding:12px 16px;text-decoration:none;font-size:15px;transition:background-color .2s ease;color:#333}.dropdown-content a:hover{background-color:#f1f1f1}.logout-btn{display:none}.notification-dropdown{position:absolute;top:35px;right:-50px;background-color:#fff;color:#000;width:250px;max-height:300px;overflow-y:auto;box-shadow:0 4px 12px #00000026;border-radius:8px;z-index:999;animation:fadeIn .3s ease}.notification-item{padding:10px 15px;border-bottom:1px solid #eee;font-size:14px}.notification-item:last-child{border-bottom:none}.notification-item:hover{background-color:#f5f5f5}.notification-wrapper{position:relative}.notification-badge{position:absolute;top:-6px;right:-8px;background-color:red;color:#fff;font-size:12px;font-weight:700;padding:2px 6px;border-radius:50%;z-index:1}.notification-dropdown{position:absolute;top:30px;right:0;background:#fff;color:#000;border-radius:5px;width:250px;max-height:300px;overflow-y:auto;box-shadow:0 0 10px #0000001a;z-index:1000}.notification-item{padding:10px;border-bottom:1px solid #eee;font-size:14px}@media (max-width: 768px){.social-navbar{flex-direction:column;align-items:stretch}.left,.right{width:50%;display:flex;align-items:center;padding:10px 0}.left{justify-content:flex-start}.right{justify-content:flex-end}.center{width:100%;display:flex;justify-content:space-around;margin-top:16px;font-size:18px;gap:16px}.welcome-msg{display:none}.left h2{font-size:20px;display:none}.user-info{margin-top:0}}.feed-container{max-width:800px;background:#fff;padding:2rem;border-radius:16px;box-shadow:0 12px 28px #0000001a;font-family:Segoe UI,Roboto,sans-serif;transition:all .3s ease-in-out;padding-top:100px;margin:auto}h2{text-align:center;color:#1877f2;font-size:1.8rem;margin-bottom:1.5rem;font-weight:600}.post-box{margin-bottom:2rem;display:flex;flex-direction:column;gap:1rem}.post-box textarea{width:100%;padding:1rem;border-radius:10px;border:1px solid #ccc;resize:none;font-size:1rem;box-shadow:inset 0 2px 4px #0000000d}.post-box input[type=file]{font-size:.95rem}.post-btn{align-self:flex-start;background-color:#1877f2;color:#fff;padding:.7rem 1.5rem;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:background-color .2s ease}.post-btn:hover{background-color:#0e62c7}.posts .post{background:#f5f8fa;padding:1.5rem;margin-top:2rem;border-radius:12px;box-shadow:0 6px 18px #00000012;transition:all .3s ease}.post h4{color:#111;font-size:1rem;margin-bottom:.4rem}.post p{margin-bottom:1rem;line-height:1.6;color:#333;font-size:.95rem}.post-media{width:100%;height:auto;max-height:500px;object-fit:contain;border-radius:10px;margin-top:1rem;box-shadow:0 4px 10px #00000014}video.post-media{width:100%;max-height:500px;object-fit:contain;border-radius:10px;margin-top:1rem}.media-wrapper{display:flex;justify-content:center;align-items:center;overflow:hidden;max-height:500px;margin-top:1rem}.actions{margin-top:1rem;display:flex;gap:1.2rem}.actions button{background:none;border:none;color:#1877f2;cursor:pointer;font-weight:600;font-size:.95rem;display:flex;align-items:center;gap:.3rem;transition:color .2s ease}.actions button:hover{color:#0e62c7}.comment-box{margin-top:1rem}.comment-box textarea{width:100%;padding:.7rem;border-radius:6px;resize:none;font-size:.9rem;border:1px solid #ccc;margin-bottom:.5rem}.comment-box button{background-color:#07c;color:#fff;padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer}.post-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.user-info{display:flex;align-items:center;gap:.75rem}.user-profile-image{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #ddd}.user-profile-placeholder{width:42px;height:42px;border-radius:50%;background-color:#bbb;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:700}h4{font-size:1rem;font-weight:600;margin:0;color:#222}.comment-box{margin-top:10px;display:flex;gap:10px;align-items:center;padding:8px;background:#f0f2f5;border-radius:10px}.comment-section-wrapper{margin-top:10px;display:flex;flex-direction:column;align-items:flex-end;width:100%;padding-right:10px}.comment-list{width:100%;max-width:600px;display:flex;flex-direction:column;align-items:flex-end;padding:8px;background-color:#f7f7f7;border-radius:8px}.comment-wrapper{width:100%;display:flex;justify-content:flex-end}.comment-bubble{background-color:#f1f0f0;border-radius:18px;padding:10px 15px;margin:8px 0;max-width:80%;word-wrap:break-word;box-shadow:0 1px 3px #0000001a;animation:fadeIn .3s ease-in}.comment-header{font-size:.85rem;font-weight:700;margin-bottom:5px;color:#2a2a2a}.comment-body{font-size:.95rem;color:#333}.comment-box{margin-top:10px;display:flex;gap:10px;align-items:center;padding:8px;background:#f0f2f5;border-radius:10px;width:100%;max-width:600px}.comment-input{flex:1;padding:8px 12px;border:1px solid #ccc;border-radius:20px;font-size:14px;outline:none;transition:border .2s ease-in-out}.comment-input:focus{border-color:#1976d2}.comment-submit{background-color:#1976d2;color:#fff;border:none;padding:8px 14px;border-radius:20px;font-weight:700;cursor:pointer;transition:background-color .2s ease-in-out}.comment-submit:hover{background-color:#125ea5}.comment-wrapper{display:flex;margin:10px 0;align-items:flex-end}.comment-wrapper.other{justify-content:flex-start}.comment-wrapper.mine{justify-content:flex-end}.comment-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;margin:0 8px}.placeholder-avatar{background-color:#007bff;color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}.comment-bubble{background-color:#f1f0f0;border-radius:18px;padding:10px 15px;max-width:60%;word-wrap:break-word;box-shadow:0 1px 3px #0000001a;animation:fadeIn .3s ease-in;position:relative}.comment-wrapper.mine .comment-bubble{background-color:#dcf8c6}.comment-wrapper.mine .comment-bubble:after{content:"";position:absolute;right:-10px;top:10px;border:10px solid transparent;border-left-color:#dcf8c6}.comment-wrapper.other .comment-bubble:after{content:"";position:absolute;left:-10px;top:10px;border:10px solid transparent;border-right-color:#f1f0f0}@media (max-width: 600px){.comment-box,.comment-list{max-width:100%;padding:6px}.comment-bubble{max-width:100%;font-size:.9rem}}.comment-section-wrapper.hidden{max-height:0;opacity:0;pointer-events:none}.comment strong{display:block;font-weight:700;margin-bottom:4px}.comment p{margin:0;font-size:14px}.comment:after{content:"";position:absolute;top:10px;left:-8px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:8px solid #f1f1f1}.animated-comments{animation:fadeInUp .5s ease}.my-comment-wrapper{justify-content:flex-end}.my-comment{background-color:#e0f7fa;border-left:4px solid #00796b}@keyframes fadeInUp{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width: 768px){.feed-container{padding:1rem;margin-top:160px}.post-box textarea{font-size:.95rem}.post p,.actions button{font-size:.9rem}.post-btn{width:100%;text-align:center}}.profile-container{display:flex;justify-content:center;align-items:center;padding:40px 20px;background-color:#f5f5f5;min-height:100vh}.profile-card{background-color:#fff;border-radius:10px;padding:30px;width:100%;max-width:500px;box-shadow:0 4px 12px #0000001a}.profile-avatar{width:120px;height:120px;object-fit:cover;border-radius:50%;margin:0 auto 20px;display:block;border:3px solid #28a745}.profile-avatar-placeholder{width:120px;height:120px;border-radius:50%;background-color:#ddd;color:#444;display:flex;align-items:center;justify-content:center;font-size:36px;margin:0 auto 20px;font-weight:700}.profile-name{text-align:center;font-size:24px;margin-bottom:25px;font-weight:700}.profile-fields{margin-bottom:20px}.profile-field{margin-bottom:15px}.profile-field label{font-weight:500;display:block;margin-bottom:5px;color:#333}.profile-field input{width:100%;padding:8px 10px;font-size:16px;border:1px solid #ccc;border-radius:6px}.profile-field p{font-size:16px;color:#555;background:#f8f8f8;padding:8px 10px;border-radius:6px}.profile-buttons{display:flex;justify-content:center;gap:15px}.profile-buttons button{padding:10px 20px;border-radius:6px;border:none;cursor:pointer;font-size:16px}.save-btn{background-color:#28a745;color:#fff}.save-btn:hover{background-color:#218838}.edit-btn{background-color:#007bff;color:#fff}.edit-btn:hover{background-color:#0056b3}input[type=file]{display:block;margin:10px auto 20px}.auth-container{display:flex;height:100vh;font-family:Segoe UI,sans-serif}.auth-left{flex:1;background:linear-gradient(#004632b3,#004632b3),url(/assets/Hero-DJbDaBvp.jpg) center/cover no-repeat;display:flex;justify-content:center;align-items:center;color:#fff;padding:2rem;text-align:center}.auth-info{max-width:400px}.auth-info h1{font-size:2.8rem;margin-bottom:1rem}.auth-info p{font-size:1.2rem;line-height:1.6}.auth-right{flex:1;background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;padding:2rem}.form-box{background:#fff;padding:2.5rem 2rem;width:100%;max-width:420px;border-radius:12px;box-shadow:0 8px 24px #0000001a}.auth-heading{text-align:center;margin-bottom:1.5rem;color:#2e7d32;font-weight:700}.form-box form{display:flex;flex-direction:column;gap:1rem}.form-box input{padding:.75rem;font-size:1rem;border:1px solid #ccc;border-radius:6px;outline-color:#388e3c}.form-box button{background-color:#2e7d32;color:#fff;padding:.75rem;font-size:1rem;border:none;border-radius:6px;cursor:pointer;transition:background .3s ease}.form-box button:hover{background-color:#1b5e20}.social-buttons{margin-top:1rem;display:flex;flex-direction:column;gap:.75rem}.google-btn,.facebook-btn{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:500;padding:.6rem;border-radius:6px;border:1px solid #ccc;background-color:#fff;cursor:pointer}.google-btn:hover{background-color:#f1f1f1}.facebook-btn{background-color:#3b5998;color:#fff}.facebook-btn:hover{background-color:#2d4373}.switch-msg{text-align:center;margin-top:1.5rem}.switch-link{color:#1976d2;font-weight:700;cursor:pointer;text-decoration:underline}.auth-footer{margin-top:2rem;text-align:center;font-size:.9rem;color:#888}@media (max-width: 768px){.auth-container{flex-direction:column}.auth-left{height:200px;padding:1rem;font-size:.9rem}.auth-info h1{font-size:1.8rem}.auth-right{padding:1rem}.form-box{padding:1.5rem;margin-top:-20px}}
