/* styles.css (additional styles for the dashboard) */

/* Dashboard Table Styling */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background-color: #fff;
}

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

.table th {
  background-color: #2c3e50;
  color: #fff;
  font-weight: 700;
}

.table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table tr:hover {
  background-color: #e8f4fc;
}

/* Action Buttons in Table */
.table .action-btn {
  background-color: #e67e22;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.table .action-btn:hover {
  background-color: #d35400;
}

.table .btn-primary {
  background-color: #2980b9;
  font-size: 0.9rem;
  text-decoration: none;
}

.table .btn-primary:hover {
  background-color: #3498db;
}

/* Message Box */
.message {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}

.message.info {
  background-color: #e8f4fc;
  color: #2980b9;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Add Button for New SIM Card */
.btn.add-sim {
  margin-top: 1.5rem;
  background-color: #27ae60;
  color: #fff;
  display: inline-block;
  font-weight: bold;
}

.btn.add-sim:hover {
  background-color: #2ecc71;
}

/* Responsive Styling for Dashboard */
@media (max-width: 768px) {

  .table th,
  .table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .btn,
  .action-btn {
    padding: 0.5rem;
    font-size: 0.9rem;
  }



  /* Form Styles for Dashboard, Edit, and Add Pages */
  .sim-card-form .form-group {
    margin-bottom: 1.5rem;
  }

  .sim-card-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
  }

  .sim-card-form input[type="text"] {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
  }

  .sim-card-form input[type="text"]:focus {
    outline: none;
    border-color: #2980b9;
  }
/* Styles for Login and Register Pages */
form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

form label {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}

form input[type="email"],
form input[type="password"],
form input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form input[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background-color: #2980b9;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #3498db;
}

}