/* ------------ */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  color: #212529;
}

/* ------------ */
body {
  height: 100%;
}

h1 {
  width: 100%;
  margin-bottom: 40px;
  font-size: 2rem;
  text-align: center;
  color: #343a40;
}

/* ------------ */
.container {
  min-height: 100vh;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ------------ */
.form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  grid-column-gap: 10px;
  margin-bottom: 30px;
}

.form-select {
  border: 1px solid #ced4da;
  border-radius: 5px;
  padding: 8px;
  font-size: 14px;
}

.form-submit {
  outline: none;
  border: none;
  background-color: #0d6efd;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  line-height: 36px;
  transition: background-color 0.3s, transform 0.2s;
}

.form-submit:hover {
  background-color: #0b5ed7;
  transform: scale(1.05);
}

/* ------------ */
.cards {
  display: flex;
  margin: 20px 0;
  width: 100%;
}

.card-item {
  width: 100%;
  padding: 20px;
  border: 1px solid #dee2e6;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.05);
}

.card-activity {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.card-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #6c757d;
}

.tag-error {
  width: 100%;
  text-align: center;
  color: red;
  margin-top: 20px;
}

/* ------------ */
.is-element-hidden {
  display: none;
}

/* ------------ */
footer {
  margin-top: auto;
  padding: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
  color: #495057;
}

/* ------------ */
@media (max-width: 620px) {
  .form {
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }
}
