/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Muli', sans-serif;
  color: #203b48;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
}

a {
	color: #fff; 
	text-decoration: none;
}

/* Container */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Header and Navigation */
header {
  background-color: #203b48;
  color: white;
  padding: 1em 0;
}

nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.hamburger {
  font-size: 1.5em;
  cursor: pointer;
}

.logo {
  flex: 1;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
  color: white;
}

/* Side Navigation */
.side-nav {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #203b48;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  color: white;
  z-index: 1000;
}

.side-nav ul {
  list-style-type: none;
  padding: 0;
}

.side-nav ul li {
  padding: 16px;
  text-align: center;
}

.side-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2em;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5em 2em;
  text-align: center;
  background-color: #ffffff;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.btn-secondary {
  background-color: #106b63;
  color: white;
  padding: 0.8em 1.5em;
  border: 2px solid #138178;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

/* Coming Soon Section */
.coming-soon {
  text-align: center;
  padding: 2em 1em;
  background-color: #f4f4f9;
  margin: 2em 0;
}

.coming-soon h3 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.coming-soon p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
}

.signup-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.signup-form input[type="email"] {
  padding: 0.75em;
  border: 1px solid #c1c4c9;
  border-radius: 5px;
  font-size: 1em;
  width: 250px;
}

.signup-form button {
  padding: 0.8em 1.5em;
  font-size: 1em;
}

/* Features Section */
.features {
  padding: 2em 1em;
  background-color: #ffffff;
  text-align: center;
}

.features h3 {
  font-size: 2em;
  margin-bottom: 1em;
}

.feature {
  margin: 1.5em 0;
}

.feature h4 {
  font-size: 1.5em;
  color: #106b63;
}

.feature p {
  font-size: 1.1em;
  color: #555;
}

/* How It Works Section */
.how-it-works {
  padding: 2em 1em;
  text-align: center;
  background-color: #f9f9f9;
}

.how-it-works h3 {
  font-size: 2em;
  margin-bottom: 1em;
}

.how-it-works ol {
  list-style-type: decimal;
  padding: 0;
  font-size: 1.1em;
}

.how-it-works li {
  margin-bottom: 0.75em;
}

.how-it-works strong {
  color: #203b48;
}


/* Footer */
footer {
  text-align: center;
  padding: 1em;
  background-color: #203b48;
  color: white;
}

/* Form Container Styles */
.form-container {
  max-width: 400px;
  margin: 5em auto;
  padding: 2em;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Form Heading */
.form-container h2 {
  font-size: 2em;
  color: #203b48;
  margin-bottom: 1em;
}

/* Ensuring section titles have space above them */
.form-container label {
    margin-top: 1.5em;
    display: block;
    font-weight: bold;
    font-size: 1em;
    color: #203b48;
    text-align: left;
}

.section-title {
    display: block;
    margin: 20px 0 0px 0;
    font-weight: bold;
    font-size: 1em;
    color: #203b48;
}


/* Input Styles */
.form-container input[type="email"],
.form-container input[type="text"],
.form-container input[type="password"] {
  width: 100%;
  padding: 0.75em;
  margin-top: 0.5em;
  border: 1px solid #c1c4c9;
  border-radius: 5px;
  font-size: 1em;
  background-color: #f9f9f9;
}

/* Form Footer with Forgot Password Link */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5em;
}

.forgot-password {
  color: #138178;
  font-size: 0.9em;
  text-decoration: none;
}

.forgot-password:hover {
  color: #106b63;
}

/* Primary Button Styles */
.btn-primary {
  background-color: #106b63;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.btn-primary:hover {
  background-color: #0e5a56;
}

/* Sign Up / Login Link */
.signup-link,
.login-link {
  margin-top: 1.5em;
  font-size: 0.9em;
}

.signup-link a,
.login-link a {
  color: #138178;
  text-decoration: none;
  font-weight: bold;
}

.signup-link a:hover,
.login-link a:hover {
  color: #106b63;
}

/* Error Message Styling */
.error-message {
  color: #dc3545; /* Red color */
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 0.75em;
  border-radius: 5px;
  margin-bottom: 1em;
  text-align: center;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5em;
  }

  .logo {
    font-size: 1.2em;
  }

  .hero {
    padding: 3em 1em;
  }

  .hero h2 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .btn-secondary {
    padding: 0.6em 1.2em;
    font-size: 0.9em;
  }

  .side-nav ul li {
    padding: 12px;
  }

  .side-nav ul li a {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 0.9em;
  }

  .btn-secondary {
    padding: 0.5em 1em;
    font-size: 0.8em;
  }
}

/* Dashboard Layout */
.dashboard-container {
  max-width: 1200px;
  margin: 2em auto;
  padding: 1em;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-header h2 {
  color: #203b48;
}

.btn-logout {
  background-color: #dc3545;
  color: white;
  padding: 0.5em 1em;
  border-radius: 5px;
  text-decoration: none;
}

.btn-logout:hover {
  background-color: #c82333;
}

.dashboard-nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 1em;
}

.dashboard-nav ul li a {
  text-decoration: none;
  color: #138178;
  font-weight: bold;
}

.dashboard-nav ul li a:hover {
  color: #106b63;
}

.dashboard-content {
  margin-top: 2em;
}

.dashboard-content section {
  margin-bottom: 2em;
  padding: 1em;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-content section h3 {
  color: #203b48;
  margin-bottom: 0.5em;
}

.placeholder-text {
  color: #999;
  font-style: italic;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="time"],
select {
  width: 100%;
  padding: 0.75em;
  margin-top: 0.5em;
  border: 1px solid #c1c4c9;
  border-radius: 5px;
  font-size: 1em;
  background-color: #f9f9f9;
}


.btn-primary {
  margin-top: 1em;
  background-color: #106b63;
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0e5a56;
}

.dashboard-container {
    max-width: 1200px;
    margin: auto;
    padding: 2em;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.dashboard-nav a {
    text-decoration: none;
    font-weight: bold;
    color: #203b48;
}

.dashboard-content section {
    margin-top: 2em;
}

.reminder-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.reminder-table th, .reminder-table td {
    padding: 0.75em;
    border: 1px solid #ddd;
    text-align: left;
}

.reminder-table th {
    background-color: #f4f4f9;
}

.edit-icon {
    cursor: pointer;
    color: #138178;
}

.btn-primary {
    background-color: #138178;
    color: white;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 1em;
}

.btn-primary:hover {
    background-color: #106b63;
}

.btn-add {
    background-color: #138178;
    color: white;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0px 0 1em 0;
}

.btn-add:hover {
    background-color: #106b63;
}

.error-message {
    color: red;
    margin-top: 0.5em;
}

.form-container label, .form-container input {
    display: block;
    width: 100%;
    margin-top: 1em;
}

/* Responsive Table */
.responsive-table {
  overflow-x: auto;
}

.reminder-table {
  width: 100%;
  border-collapse: collapse;
}

.reminder-table th, .reminder-table td {
  padding: 0.75em;
  border: 1px solid #ddd;
  text-align: left;
}

.reminder-table th {
  background-color: #f4f4f9;
}

@media (max-width: 768px) {
  .reminder-table, .reminder-table thead, .reminder-table tbody, .reminder-table th, .reminder-table td, .reminder-table tr {
    display: block;
  }

  .reminder-table tr {
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1em;
  }

  .reminder-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 1em;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .reminder-table td:before {
    content: attr(data-label);
    font-weight: bold;
    flex-basis: 50%;
    text-align: left;
    color: #203b48;
  }

  .reminder-table th {
    display: none;
  }
}

/* Add data-label attribute in PHP */
