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

/* Full-screen app container */
html,
body {
  height: 100%;
  width: 100%;
  font-family: 'Arial', sans-serif;
  background-color: #f2f2f5;
}

/* App wrapper */
.app-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  min-height: 100%;
}

/* Header style */
header {
  position: sticky;
  top: 0;
  background: #fff;
  width: 100%;
  max-width: 600px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Main content area */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 600px;
  margin-top: 1rem;
}

/* Card style for form and table */
.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

/* Form elements */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Button style */
button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #0056b3;
}

/* Table styling */
.table-responsive {
  overflow-x: auto;
  width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
th {
  background: #f7f7f7;
  font-weight: bold;
}
tr:nth-child(even) td {
  background: #fafafa;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .app-container {
    padding: 2rem;
  }
  .card {
    padding: 2rem;
  }
}
