/* General Body Styling */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f3f1;
  margin: 0;
}

/* Container for center content */
.container {
  background: white;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}

/* Input Fields Styling */
input {
  width: 100%;
  padding: 0.5em;
  margin: 0.5em 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: inset 0 2px 4px #ddd;
}

/* Button Styling */
button {
  padding: 0.5em 1em;
  background: black;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Login Link Styling */
.login-link {
  margin-top: 1em;
  font-size: 0.9em;
}

.login-link a {
  color: #007BFF;
  text-decoration: none;
}

/* Image Styling */
.image-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.top-image {
  max-width: 150px;
  height: auto;
}

/* Page Wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
  border-bottom: 1px solid #ccc;
  background-color: white;
  font-family: Arial, sans-serif;
}

/* Logo Styling */
.navbar img[alt="Logo"] {
  height: 60px;
  display: flex;
  align-items: center;

}

/* Username Styling */
.username {
  margin-left: 75%;
  font-weight: bold;
  font-size: 1.2em;
}

/* Profile Dropdown Styling */
.profile {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Profile Image Styling */
.profile img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

/* Dropdown Menu Styling */
.dropdown {
  position: absolute;
  right: 30px;
  top: 60px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dropdown Links Styling */
.dropdown a {
  color: black;
  text-decoration: none;
  padding: 10px 15px;
  margin: 5px 0;
  transition: background-color 0.3s ease;
  position: relative;
}

/* Dropdown Link Hover Effect */
.dropdown a:hover {
  background-color: #f0f0f0;
}

/* Underline Animation on Hover */
.dropdown a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.dropdown a:hover::after {
  transform: scaleX(1);
}

/* Calendar Styling */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 70px);
  gap: 20px;
  justify-content: start;
}

/* Calendar Container Styling */
.calendar-container {
  display: flex;
  justify-content: center;
}

/* Month-Year Display Styling */
.month-year {
  font-size: 24px;
  padding: 20px;
  margin: 20px 0 20px 20%;
  box-sizing: border-box;
  display: block;
}

/* Day Styling */
.day {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Future Day Styling (Non-clickable) */
.day.future {
  background-color: #FFFFFF;
  color: #000000;
  cursor: not-allowed;
  pointer-events: none;
}

/* Calendar Control Styling */
.calendar-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 25%;
  gap: 5px;
  padding: 10px;
}

/* Arrow Styling for Calendar Controls */
.calendar-controls .arrow {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon Styling */
.calendar-controls .icon {
  width: 32px;
  height: 32px;
  stroke: black;
  transition: transform 0.2s;
}

/* Hover Effect on Arrow Icon */
.calendar-controls .arrow:hover .icon {
  transform: scale(1.1);
}

/* Entry Container Styling */
.date-mood-container {
  display: flex;
  align-items: center;
  justify-content: center;  
  gap: 25%;
  margin-top: 20px;
}

.mood-indicator img {
  width: 50px;
  height: 50px;
}
.entry-container {
  position: relative;
  max-width: 600px;
  margin: 50px auto;
  padding: 0;
  background-color: #f9f9f9;
  background-image: linear-gradient(to bottom, #868585 1px, transparent 1px);
  background-size: 100% 30px;
  line-height: 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}



/* Red Line to the Left of Entry Container */
.entry-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 0.5px;
  background-color: red;
}

/* Entry Content Styling */
.entry-content {
  padding: 20px 20px 20px 50px;
}

/* Mood Gallery Styling */
.mood-gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Mood Gallery Image Styling */
.mood-gallery img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.2s;
}

/* Hover Effect on Mood Gallery Images */
.mood-gallery img:hover {
  transform: scale(1.1);
}

/* Hidden Class for Elements */
.hidden {
  display: none;
}

/* Entry Form Styling */
.entry-form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 600px;
  margin: 50px auto;
}

/* Textarea Wrapper Styling */
.textarea-wrapper {
  position: relative;
}

/* Textarea Styling */
textarea {
  width: 100%;
  height: 240px;
  font-size: 16px;
  line-height: 30px;
  background-image: repeating-linear-gradient(
      to bottom,
      #f9f9f9 0px,
      #f9f9f9 29px,
      #868585 30px
  );
  border: none;
  resize: vertical;
  outline: none;
  box-shadow: none;
  background-position: 40px 0;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 15px;
  padding: 5px;
  padding-left: 50px;
  padding-top: 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Placeholder Styling for Textarea */
textarea::placeholder {
  color: black;
}

/* Left Red Line in Textarea Wrapper */
.textarea-wrapper::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 0.5px;
  background-color: red;
}

/* Animation for the Pulse Ring Effect  */

@keyframes pulseRing {
  0% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.2),        
      inset 0 0 0 0 rgba(0, 0, 0, 0.6);  
  }
  50% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.2),
      inset 0 0 0 10px rgba(255, 193, 7, 0); 
  }
  100% {
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.2),
      inset 0 0 0 0 rgba(255, 193, 7, 0);    
  }
}

.pulse-ring {
  animation: pulseRing 1s ease-out infinite;
}


/* Horizontal Bar Container */
.horizontal-bar {
  background-color: #f9f9f9;
  display: flex;
  width: 80%;
  max-width: 600px;
  height: 50px; 
  border-radius: 50px; 
  overflow: hidden;
  margin: 0 auto 20px auto; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}



.profile_section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 10px;
  background-color: #FFFFFF;
  border-radius: 50px;
  width: 1100px;
  margin: 40px auto; /* centreert het horizontaal */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* optioneel voor wat diepte */
}

.profile_section img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
}

.profile_section form {
  margin-top: 10px;
}

.profile_section input[type="file"] {
  margin-top: 10px;
}

.profile_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  margin-left: 15%;
}

.profile_info form {
  display: flex;
  flex-direction: column;
  max-width: 300px;
}

.profile_info p {
  margin: 0;
  font-weight: bold;
  margin-bottom: 5px;
}

.profile_info input[type="text"],
.profile_info input[type="email"] {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  max-width: 200px;
}

.profile_info button,
.profile_section button {
  margin-top: 8px;
  padding: 6px 12px;
  background-color: #2b7ad7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.profile_info button:hover,
.profile_section button:hover {
  background-color: #1f5db0;
}

.account_container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 40px auto;
  width: 600px;
}

.password_section,
.account_actions {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.input_button_container {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between input and button */
}

.password_section input[type="password"] {
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 50px;
  width: 100%;
  max-width: 230px; /* shorter input width */
  height: 50px;
  margin-right: 10px; /* Space between input and button */
}

.password_section button {
  padding: 10px 20px;
  background-color: #2b7ad7;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

.password_section button:hover {
  background-color: #1f5db0;
}

.account_actions form {
  display: flex;
  gap: 10px;
}

.account_actions button {
  padding: 6px 12px;
  background-color: #2b7ad7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.account_actions button:hover {
  background-color: #1f5db0;
}
