body,
html {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  height: 100%;
}

.starter-template {
  padding: 3rem 1.5rem;
  text-align: center;
}

h1,
h2 {
  color: #007bff;
}

.bg-black {
  background-color: #000;
}

.notification,
.info,
.form-section {
  padding: 20px;
  text-align: center;
}

.info p {
  color: #555;
}

.learn-more {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.main-text {
  max-width: 600px;
  margin: auto;
  font-size: 1.2em;
  line-height: 1.6;
  padding: 20px;
  text-align: center;
}

.main-text a {
  color: #007bff;
  text-decoration: underline;
}

.main-text a:hover {
  color: #0056b3;
}

footer {
  background-color: #343a40;
  color: #ddd;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer .container {
  max-width: 800px;
  margin: auto;
}

.footer p {
  margin: 5px 0;
  font-size: 1em;
  line-height: 1.4;
}

.footer a {
  color: #007bff;
  text-decoration: none;
}

.footer a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.form-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 20px auto;
}

.form-section form {
  display: flex;
  flex-direction: column;
}

.form-section label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-section input {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1.2em;
}

.form-section input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-section button {
  background-color: #007bff;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form-section button:hover {
  background-color: #0056b3;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  /* General mobile adjustments */
  body {
    font-size: 14px;
  }
  
  .starter-template {
    padding: 1.5rem 1rem;
  }
  
  header,
  .notification,
  .info,
  .form-section {
    padding: 10px;
  }
  
  /* Navigation */
  .navbar {
    flex-direction: column;
    padding: 10px;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 5px 0;
  }
  
  /* Forms */
  .form-section {
    max-width: 100%;
    margin: 10px;
    box-shadow: none;
  }
  
  .form-section input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Tables - make them scrollable */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    font-size: 12px;
    min-width: 300px;
  }
  
  table td, table th {
    padding: 5px;
    white-space: nowrap;
  }
  
  /* Alerts management specific */
  input[type="number"] {
    width: 60px;
  }
  
  /* Main content area */
  .container {
    padding: 0 10px;
  }
  
  .main-text {
    font-size: 1em;
    padding: 10px;
  }
  
  /* Buttons */
  .btn, button {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* Footer */
  footer {
    padding: 15px 0;
  }
  
  .footer p {
    font-size: 0.9em;
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  table {
    font-size: 11px;
  }
  
  .form-section {
    padding: 15px;
  }
}
