body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111;
    color: #fff;
}


input[type="text"],
input[type="password"],
button {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
}
.message_box{
  width: 100%;
  min-height: 50px;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  resize: none;
  overflow-y: hidden;
}

.post-list {
    margin-top: 20px;
}

.post-item {
    margin: 10px 0;
    padding: 15px;
    padding-bottom: 3px;
    position: relative;
    border-bottom: 1px solid #555;
}


.post-message {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 5px;
}

.post_time{
color: #505050!important;
}

.like-form {
  display: flex;
  align-items: center;
}

.like-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}

.like-count {
  font-size: 14px;
}

.delete-btn{
   color: #636363;
   font-size: 12px;
   text-decoration: none;
}
.delete-btn:hover {
    color: #5a6268;
}

.actions {
    display: flex;
    align-items: center;
    gap: 5px;
}


.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #444;
    color: #fff;
    border-radius: 50%;
    font-size: 2em;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}


.modal {
    display: none;
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}


.modal-content {
    background-color: #222;
    margin: 15% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}


.close:hover {
    color: #fff;
}


a[href^="like.php"] {
    color: #ff6688;
    text-decoration: none;
}

a[href^="like.php"]:hover {
    text-decoration: underline;
}

span {
    color: #ccc;
}

.header-logo {
    width: 150px;
    height: auto;
    max-width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 0 20px;*/
}

.drawer_hidden {
    display: none;
}

.drawer_open {
    display: none;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.menu-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; 
    z-index: 99;
    background: #222; 
    transition: left 0.5s;
    padding: 20px;
    padding-top: 80px;
}

#drawer_input:checked ~ .nav_content {
    left: 30%;
}

.nav_list {
    list-style: none;
    margin: 20px 0;
}

.nav_item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 0;
}

.nav_item a:hover {
   opacity:0.7;
}

 .drawer_open {
        display: flex;
 }

.close_nav{
    color: #fff;
    cursor: pointer;
    padding: 10px 0;
}

.close_nav:hover {
    opacity:0.7;
}
.contact_formlink{
	color: #afafaf;
}
.contact_formlink:hover{
    opacity:0.7;
}
.contact_formlink:active {
    color: #fff;
    opacity: 0.7;
}

.close-button {
  color: #fff;
  text-decoration: none;
}

.close-button:hover {
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
}
.close-button-wrapper{
   text-align: center;
   color: #fff;
   text-decoration: none;
}
.contact_formlink{
  margin-top: 20px;
  display: block;
  text-align: center;
}

body#terms .nav,
body#privacy .nav,
body#settings .nav,
body#contact .nav {
  display: none;
}

@media (max-width: 620px) {
  .modal-content {
    margin-top: 120px;
  }
}
