* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #1a1a1a;
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

header {
  background: #121212;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ff00f2;
  
}

header h1 {
  color: #ea00ff;
  font-size: 1.5rem;
 
}

nav a {
  margin-left: 1.5rem;
  color: #e5e5e5;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #ff00e1;
}

#menuBtn {
  background: none;
  border: none;
  color: #dd00ff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 1rem;
}




.layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: calc(100vh - 80px); 
    overflow: hidden;           
}



main {
    flex: 0 0 80%;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    
}

aside {
    flex: 0 0 20%;
    border: 2px solid #ff00f2;
    height: 916px;
    background-color: #150015;
    border-top: none;
    overflow-y: auto;
}
.post {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem;

  display: flex;            
  flex-direction: column;   
}


.post-title {
  color: #f700ff;
  margin-bottom: 0.5rem;
  font-size: x-large;
}

.post-meta {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}
 .post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    
 }

  .profile-section {
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  background: linear-gradient(145deg, #111, #1a001a);
  border: 2px solid #ff00f2;
  border-radius: 12px;
  margin: 2rem auto;
  width: 70%;
  box-shadow: 0 0 20px rgba(255, 0, 242, 0.2);
  position: relative;
  
}

.pfp {
  width: 125px;
  height: 125px;
  border-radius: 10px; 
  background-color: #333;
  border: 2px solid #ff00f2;
  margin-right: 2rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.username {
  font-size: 1.8rem;
  color: #ff00f2;
  margin-bottom: 4rem;
}

.bio {
  color: #ccc;
  font-size: 1rem;
}

.pfbg {
  border: 3px solid black;
  border-radius: 20px;
  width: 1125px;
  height: 1250px;
  z-index: 0;
  background-color: black;
  display: flex;
  position: absolute;
  width: 100%;
  z-index: -1;
  
}

.profile-container {
  position: relative;
  width: 85%;
  margin: 2rem auto;
  height: auto;
  display: flex;
}

.msg {
  display: flex;
  margin-left: auto;
  border: 1px solid white;
  height: 40px;
  width: 150px;
  position: absolute;
  right: 1rem;
  bottom: 2rem;
  justify-content: center;
  align-items: center;
  
  

}
.loginbox {
  width: 90%;             
  max-width: 650px;        
  background-color: #121212;
  border: 2px solid #ff00f2;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 242, 0.2);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -20%;
}


.laatikko {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  background-color: #1a1a1a;
  padding: 1rem; 
  flex-direction: column;
  
}


.loginform {
  width: 100%;
  height: 45px;
  border: 1px solid #ff00f2;
  background: transparent;
  color: white;
  font-size: 1rem;
  padding-left: .5rem;
}


.loginbtn {
  float: right;       
  padding: 0.5rem 1rem;
  border: 2px solid #ff00f2;
  background-color: transparent;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 3px;      
  display: inline-block;  
}
.input-row {
  display: grid;
  grid-template-columns: 120px 1fr;  
  align-items: center;
  margin-bottom: 1rem;
}

.input-row-label {
  text-align: right;
  padding-right: 1rem;
}


.register {
  border: 2px solid transparent;
  width: 150px;
  height: 50px;
  margin-bottom: 4px;
  align-items: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.abar {
  display: flex;                  
  justify-content: space-between; 
  align-items: center;            
  padding: 0.5rem;
  width: 100%;                    
  gap: 0.5rem;                    
  box-sizing: border-box;
}

.abar-btn {
  flex: 1;
  background-color: #121212;        
  border: 2px solid #ff00f2;        
  color: #e5e5e5;
  padding: 0.5rem;
  border-radius: 12px;              
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer
  
}

.abar-btn:hover {
  background-color: #ff00f2;
  color: black;
  

}
.abar-btn:active {
  box-shadow: 0 0 8px rgba(255, 0, 242, 0.4); 
  background-color: #ff00f2;
}


.message {
  width: 70%;
  max-width: 500px;
  height: 25px;              
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
  white-space: nowrap;        
  overflow: hidden;           
  text-overflow: ellipsis;    
  font-size: 0.9rem;          
  padding: 0 0.5rem;          
  box-sizing: border-box;
}

.postbtn {
  border: 3px solid black;
  width: 100px;
  height: 45px;
  background-color: #ff00f2;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 6px;
  border-radius: 14px;
  text-decoration: none;
  color: black;
  background: linear-gradient(130deg, #ff1fb4, #970f97);
}

.postbtn-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end; 
  margin-bottom: 0.5rem;  
  margin-right: 3rem;     
}


.comment {
    background: #222;           
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;;           
    width: 95%;                
    display: flex;
    flex-direction: column;
    gap: 0.3rem;               
    color: white; 
                 
}



.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #aaa;
}




.comment-form {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column; 
    gap: 0.5rem;
}

.comment-form textarea.loginform {
    width: 100%;
    height: 80px;
    resize: vertical;
}

.comment-form button.loginbtn {
    align-self: flex-end;
}

.comments-section {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 0.5rem; 
}



.loginform1 {
  width: 100%;
  height: 45px;
  border: 1px solid #ff00f2;
  background: transparent;
  color: white;
  font-size: 1rem;
  padding-left: .5rem;
  margin-left: 13px;
}





.comments {
  margin-top: 1rem;
  align-self: flex-end;    
  
  height: 30px;
  color: black;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.comment-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.comment-input-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    align-items: stretch; 
    padding: 0 1rem;
}
.comment-btn {
    height: 48px;          
    margin-top: 0;        
    padding: 0 1rem;       
    display: flex;
    justify-content: center;
    align-items: center;   
    border: 2px solid #ff00f2;   
    background-color: transparent; 
    color: white;          
    cursor: pointer;
    font-size: 1rem;
}



.comment-input-wrapper textarea.loginform1 {
    flex: 1;
    min-height: 48px;   
    max-height: 300px;
    padding: 0.5rem;
    border: 2px solid #ff00f2;
    background: transparent;
    color: white;
    font-size: 1rem;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    resize: vertical;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0.5rem 1rem;
    gap: 1rem;
    position: relative; 
    border: 2px solid #ff00f2;
    border-top: transparent;
    border-right: transparent;
}

.feed {
    flex: 1 1 auto;         
    overflow-y: auto;       
    padding: 1rem;
}

.searchbar {
    height: 45px;
    padding: 0 0.5rem;
    border: 3px solid black;
    background-color: #1a1a1a;
    color: white;
    font-size: large;
    width: 350px; 
    max-width: 80vw; 
}

.searchbtn {
    height: 45px;
    padding: 0 1rem;
    border: 3px solid black;
    border-radius: 8px;
    background: linear-gradient(130deg, #ff1fb4, #970f97);
    color: black;
    cursor: pointer;
    font-size: large;
}
.search-container {
    display: flex;
    gap: 0.5rem;           
    position: absolute;      
    left: 50%;
    transform: translateX(-70%); 
}


.user-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #111, #1a001a);
  border: 2px solid #ff00f2;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 0 15px rgba(255, 0, 242, 0.2);
  transition: transform 0.2s ease;
}



.user-card .pfp {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background-color: #333;
  border: 2px solid #ff00f2;
  margin-right: 1.5rem;
}

.user-card .profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-card .username {
  font-size: 1.4rem;
  color: #ff00f2;
  margin-bottom: 0.5rem;
  align-items: center;
  padding-right: 10px;
}

.user-card .bio {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.user-card .add-friend-btn {
  width: 120px;
  padding: 0.4rem 0.8rem;
  border: 2px solid #ff00f2;
  border-radius: 10px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}



.aside-content {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
}

.chat-row, .friend-row {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #e5e5e5;
}

.chat-row:hover, .friend-row:hover {
  background-color: #ff00f2;
  color: black;
}



.add-friend-btn:hover {
  background-color: #ff00f2;
  color: black;
}

.aside-search-container {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin: 0 auto;
}

.aside-searchbar {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border: 2px solid #ff00f2;
    background-color: #121212;
    color: white;
    font-size: 0.9rem;
    border-radius: 8px;
}

.aside-searchbtn {
    padding: 0.4rem 0.8rem;
    border: 2px solid #ff00f2;
    border-radius: 8px;
    background: linear-gradient(130deg, #ff1fb4, #970f97);
    color: black;
    cursor: pointer;
    font-size: 0.9rem;
}
.bio-input {
  width: 100%;
  min-height: 70px;

  background: #121212;
  color: #e5e5e5;

  border: 2px solid #ff00f2;
  border-radius: 10px;

  padding: 0.6rem;
  font-size: 0.95rem;
  resize: vertical;

  outline: none;
}



.bio-input:focus {
  border-color: #6c63ff;
}
.pfp-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.45rem 0.9rem;
  border-radius: 999px;

  background: transparent;
  border: 2px solid #ff00f2;
  color: #e5e5e5;

  font-size: 0.85rem;
  cursor: pointer;

  transition: all 0.2s ease;
}

.pfp-upload:hover {
  background: #ff00f2;
  color: black;
}

.pfp-upload input {
  display: none;
}
.save-btn {
  align-self: flex-end;

  padding: 0.45rem 1rem;
  border-radius: 14px;

  background: linear-gradient(130deg, #ff1fb4, #970f97);
  border: 2px solid black;

  color: black;
  font-weight: bold;
  cursor: pointer;

  transition: transform 0.15s ease;
}
.save-btn:hover {
  transform: scale(1.05);
}

.save-btn:active {
  transform: scale(0.96);
}
.profile-info form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #1a1a1a;
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

header {
  background: #121212;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ff00f2;
  
}

header h1 {
  color: #ea00ff;
  font-size: 1.5rem;
 
}

nav a {
  margin-left: 1.5rem;
  color: #e5e5e5;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #ff00e1;
}

#menuBtn {
  background: none;
  border: none;
  color: #dd00ff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 1rem;
}




.layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: calc(100vh - 80px); 
    overflow: hidden;           
}



main {
    flex: 0 0 80%;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    
}

aside {
    flex: 0 0 20%;
    border: 2px solid #ff00f2;
    height: 916px;
    background-color: #150015;
    border-top: none;
    overflow-y: auto;
}
.post {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem;

  display: flex;           
  flex-direction: column;   
}


.post-title {
  color: #f700ff;
  margin-bottom: 0.5rem;
  font-size: x-large;
}

.post-meta {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}
 .post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    
 }

  .profile-section {
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  background: linear-gradient(145deg, #111, #1a001a);
  border: 2px solid #ff00f2;
  border-radius: 12px;
  margin: 2rem auto;
  width: 70%;
  box-shadow: 0 0 20px rgba(255, 0, 242, 0.2);
  position: relative;
  
}

.pfp {
  width: 125px;
  height: 125px;
  border-radius: 10px; 
  background-color: #333;
  border: 2px solid #ff00f2;
  margin-right: 2rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.username {
  font-size: 1.8rem;
  color: #ff00f2;
  margin-bottom: 4rem;
}

.bio {
  color: #ccc;
  font-size: 1rem;
}

.pfbg {
  border: 3px solid black;
  border-radius: 20px;
  width: 1125px;
  height: 1250px;
  z-index: 0;
  background-color: black;
  display: flex;
  position: absolute;
  width: 100%;
  z-index: -1;
  
}

.profile-container {
  position: relative;
  width: 85%;
  margin: 2rem auto;
  height: auto;
  display: flex;
}

.msg {
  display: flex;
  margin-left: auto;
  border: 1px solid white;
  height: 40px;
  width: 150px;
  position: absolute;
  right: 1rem;
  bottom: 2rem;
  justify-content: center;
  align-items: center;
  
  

}
.loginbox {
  width: 90%;             
  max-width: 650px;        
  background-color: #121212;
  border: 2px solid #ff00f2;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 242, 0.2);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -20%;
}


.laatikko {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  background-color: #1a1a1a;
  padding: 1rem; 
  flex-direction: column;
  
}


.loginform {
  width: 100%;
  height: 45px;
  border: 1px solid #ff00f2;
  background: transparent;
  color: white;
  font-size: 1rem;
  padding-left: .5rem;
}


.loginbtn {
  float: right;       
  padding: 0.5rem 1rem;
  border: 2px solid #ff00f2;
  background-color: transparent;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 3px;      
  display: inline-block;  
}
.input-row {
  display: grid;
  grid-template-columns: 120px 1fr;  
  align-items: center;
  margin-bottom: 1rem;
}

.input-row-label {
  text-align: right;
  padding-right: 1rem;
}


.register {
  border: 2px solid transparent;
  width: 150px;
  height: 50px;
  margin-bottom: 4px;
  align-items: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.abar {
  display: flex;                  
  justify-content: space-between; 
  align-items: center;            
  padding: 0.5rem;
  width: 100%;                    
  gap: 0.5rem;                    
  box-sizing: border-box;
}

.abar-btn {
  flex: 1;
  background-color: #121212;        
  border: 2px solid #ff00f2;        
  color: #e5e5e5;
  padding: 0.5rem;
  border-radius: 12px;              
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer
  
}

.abar-btn:hover {
  background-color: #ff00f2;
  color: black;
  

}
.abar-btn:active {
  box-shadow: 0 0 8px rgba(255, 0, 242, 0.4); 
  background-color: #ff00f2;
}


.message {
  width: 70%;
  max-width: 500px;
  height: 25px;              
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
  white-space: nowrap;        
  overflow: hidden;           
  text-overflow: ellipsis;    
  font-size: 0.9rem;          
  padding: 0 0.5rem;          
  box-sizing: border-box;
}

.postbtn {
  border: 3px solid black;
  width: 100px;
  height: 45px;
  background-color: #ff00f2;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 6px;
  border-radius: 14px;
  text-decoration: none;
  color: black;
  background: linear-gradient(130deg, #ff1fb4, #970f97);
}

.postbtn-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end; 
  margin-bottom: 0.5rem;  
  margin-right: 3rem;    
}


.comment {
    background: #222;           
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;;           
    width: 95%;                
    display: flex;
    flex-direction: column;
    gap: 0.3rem;               
    color: white; 
                 
}



.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #aaa;
}

/* checkpoint */


.comment-form {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comment-form textarea.loginform {
    width: 100%;
    height: 80px;
    resize: vertical;
}

.comment-form button.loginbtn {
    align-self: flex-end;
}

.comments-section {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 0.5rem; 
}



.loginform1 {
  width: 100%;
  height: 45px;
  border: 1px solid #ff00f2;
  background: transparent;
  color: white;
  font-size: 1rem;
  padding-left: .5rem;
  margin-left: 13px;
}





.comments {
  margin-top: 1rem;
  align-self: flex-end;    
  
  height: 30px;
  color: black;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.comment-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.comment-input-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    align-items: stretch; 
    padding: 0 1rem;
}
.comment-btn {
    height: 48px;         
    margin-top: 0;         
    padding: 0 1rem;       
    display: flex;
    justify-content: center;
    align-items: center;   
    border: 2px solid #ff00f2;   
    background-color: transparent; 
    color: white;         
    cursor: pointer;
    font-size: 1rem;
}



.comment-input-wrapper textarea.loginform1 {
    flex: 1;
    min-height: 48px; 
    max-height: 300px;
    padding: 0.5rem;
    border: 2px solid #ff00f2;
    background: transparent;
    color: white;
    font-size: 1rem;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    resize: vertical;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    gap: 1rem;
    position: relative;
    border: 2px solid #ff00f2;
    border-top: transparent;
    border-right: transparent;
}

.feed {
    flex: 1 1 auto;        
    overflow-y: auto;      
    padding: 1rem;
}

.searchbar {
    height: 45px;
    padding: 0 0.5rem;
    border: 3px solid black;
    background-color: #1a1a1a;
    color: white;
    font-size: large;
    width: 350px; 
    max-width: 80vw; 
}

.searchbtn {
    height: 45px;
    padding: 0 1rem;
    border: 3px solid black;
    border-radius: 8px;
    background: linear-gradient(130deg, #ff1fb4, #970f97);
    color: black;
    cursor: pointer;
    font-size: large;
}
.search-container {
    display: flex;
    gap: 0.5rem;           
    position: absolute;      
    left: 50%;
    transform: translateX(-70%); 
}


.user-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #111, #1a001a);
  border: 2px solid #ff00f2;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 0 15px rgba(255, 0, 242, 0.2);
  transition: transform 0.2s ease;
}



.user-card .pfp {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background-color: #333;
  border: 2px solid #ff00f2;
  margin-right: 1.5rem;
}

.user-card .profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-card .username {
  font-size: 1.4rem;
  color: #ff00f2;
  margin-bottom: 0.5rem;
  align-items: center;
  padding-right: 10px;
}

.user-card .bio {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.user-card .add-friend-btn {
  width: 120px;
  padding: 0.4rem 0.8rem;
  border: 2px solid #ff00f2;
  border-radius: 10px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}



.aside-content {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
}

.chat-row, .friend-row {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #e5e5e5;
}

.chat-row:hover, .friend-row:hover {
  background-color: #ff00f2;
  color: black;
}



.add-friend-btn:hover {
  background-color: #ff00f2;
  color: black;
}

.aside-search-container {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin: 0 auto;
}

.aside-searchbar {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border: 2px solid #ff00f2;
    background-color: #121212;
    color: white;
    font-size: 0.9rem;
    border-radius: 8px;
}

.aside-searchbtn {
    padding: 0.4rem 0.8rem;
    border: 2px solid #ff00f2;
    border-radius: 8px;
    background: linear-gradient(130deg, #ff1fb4, #970f97);
    color: black;
    cursor: pointer;
    font-size: 0.9rem;
}
.bio-input {
  width: 100%;
  min-height: 90px;
  resize: vertical;

  background: #0f0f0f;
  color: #fff;

  border: 1px solid #2a2a2a;
  border-radius: 10px;

  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;

  outline: none;
}

.bio-input::placeholder {
  color: #777;
}

.bio-input:focus {
  border-color: #6c63ff;
}
.pfp-upload {
  display: inline-block;
  margin-top: 10px;

  padding: 8px 14px;
  border-radius: 999px;

  background: #1a1a1a;
  color: #ccc;
  font-size: 13px;

  cursor: pointer;
  user-select: none;

  border: 1px solid #2a2a2a;
  transition: background 0.2s, color 0.2s;
}

.pfp-upload:hover {
  background: #232323;
  color: #fff;
}

.pfp-upload input[type="file"] {
  display: none;
}
.save-btn {
  margin-top: 12px;

  padding: 9px 16px;
  border-radius: 999px;

  background: #6c63ff;
  color: #fff;

  border: none;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.save-btn:hover {
  opacity: 0.9;
}

.save-btn:active {
  transform: scale(0.96);
}
.profile-info form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-edit {
  display: none;
  margin-top: 10px;
}
.edit-btn {
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #ff00f2;
  color: #e5e5e5;
  cursor: pointer;
  font-size: 0.9rem;
}
.edit-btn:hover {
  background: #ff00f2;
  color: black;
}
.profile-edit.active {
  display: block;
}


.post-image {
    width: 50%;         /* fill the post container width */
    max-width: 600px;    /* maximum width you want */
    height: auto;        /* maintain aspect ratio */
    max-height: 300px;   /* optional: limit height */
    display: block;
    margin: 1rem 0;
    border-radius: 8px;
    object-fit: cover;   /* cover crops but fills nicely */
}
.chat-image {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
    margin-top: 0.5rem;
    border-radius: 6px;
}
