/* General Styles */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* Center the container */
.container {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Form Column Styles */
.form-column {
  flex: 1;
  max-width: 400px;
  min-width: 250px;
  background-color: #fff;
  border: 1px solid #e3e4e8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Feed Column Styles */
.feed-column {
  flex: 2;
  max-width: 600px;
  background-color: #fff;
  border: 1px solid #e3e4e8;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop layout */
@media (min-width: 769px) {
  .container {
    display: flex;
    flex-direction: row;
    gap: 20px; /* Adds 20px gap between the form and feed */
  }

  form,
  #notification-feed {
    flex: 1;
  }
}

/* Mobile layout */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px; /* Adds 20px gap between form and feed */
  }

  form,
  #notification-feed {
    width: 100%;
  }
}

/* Notification Feed Styles */
#notification-feed {
  height: 400px;
  overflow-y: auto;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid thistle;
}

#notification-feed::-webkit-scrollbar {
  width: 6px;
}

#notification-feed::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.notification-card {
  height: 70px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Notification Colors */
.notification-card.alert {
  background-color: #ffcccb;
}

.notification-card.info {
  background-color: #add8e6;
}

.notification-card.success {
  background-color: #90ee90;
}

.notification-message {
  font-size: 14px;
  margin: 0;
  color: #333;
}

.notification-timestamp {
  font-size: 12px;
  color: #666;
  text-align: left; /* Change alignment to left */
  margin-top: auto; /* Ensure the timestamp stays at the bottom */
}

/* Send Button Styles (White with Black Text) */
button {
  width: 100%;
  background-color: #fff; /* White background */
  color: #333;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 16px;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  margin: 0 auto;
  display: block;
}

/* Input and Textarea Placeholder Styles */
textarea::placeholder,
select::placeholder {
  color: #ccc;
}

/* Styling for Textarea and Dropdown */
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #333; /* Text color */
  background-color: #fff; /* White background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* Hover effect on inputs */
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}
