/* Page layout */
body {
  padding: 0 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  background-color: #f5ddeac5;
}

/* Navbar */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-left: 50px;
  padding-right: 50px;
  z-index: 1000;
}

h1 {
  margin-top: 90px;
}

/* General link styling */
a {
  color: #00B7FF;
}
a:hover {
  text-decoration: underline;
}

/* Posts container */
#posts_box {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

/* Individual post card */
.post {
  width: 300px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

/* Heart button */
.heart_button {
  color: red;
  font-size: 20px;
  cursor: pointer;
}

/* Comments box */
.comments-box {
  border: 1px solid #ccc;
  background: #fff;
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
}

/* Individual comment */
.individual-comment-box {
  border: 1px solid #ddd;
  background: #fafafa;
  margin: 5px 0;
  padding: 5px 8px;
  border-radius: 4px;
}

.form-group input {
  max-width: 400px;
}

/* USER INFO SECTION */
.user-info-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 600px;
  margin-bottom: 35px;
}

.section-title {
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 20px;
}

.info-row {
  margin-bottom: 8px;
  font-size: 15px;
}

.user-edit-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.user-edit-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.user-edit-box textarea,
.user-edit-box input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.user-edit-box textarea:focus,
.user-edit-box input:focus {
  outline: none;
  border-color: #007bff;
}

.save-btn {
  width: 160px;
  padding: 10px 16px;
  font-size: 15px;
  background: #2f80ed;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.save-btn:hover {
  background: #1d6fd6;
}

button {
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #bbb;
  background: #fff;
}
button:hover {
  background: #f0f0f0;
}
