main > .container {
  padding: 70px 15px 20px;
}

.footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}

.form-group {
  margin-bottom: 1rem;
}

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

.table td {
  vertical-align: middle;
  border: 1px solid #dee2e6;
}

.store-separator {
  border-top: 2px dashed #6c757d !important;
}

.table thead th {
  background-color: #343a40;
  color: white;
  text-align: center;
}

.table thead th small {
  font-size: 0.8em;
  opacity: 0.9;
  font-weight: normal;
}

.table td span.text-muted {
  font-size: 0.9em;
  opacity: 0.7;
  margin-left: 5px;
}

/* Mobile styles */
@media (max-width: 767.98px) {
  .card .card-body .row .col-6 {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
  }

  .card .card-body .row .col-6:nth-child(odd) {
    border-right: 1px solid #f0f0f0;
  }
}

.site-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.login-card h1 {
  color: #333;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.login-input {
  height: 50px;
  border-radius: 8px;
  border: 2px solid #e1e5e9;
  padding: 0 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.login-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.error-message {
  font-size: 14px;
  margin-top: 5px;
  text-align: left;
}

/* Responsividade para mobile */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
    margin: 10px;
  }

  .login-card h1 {
    font-size: 20px;
  }

  .login-input {
    height: 45px;
    font-size: 14px;
  }

  .btn-login {
    height: 45px;
    font-size: 14px;
  }
}

/* Melhorar o foco para mobile */
@media (max-width: 768px) {
  .login-input {
    font-size: 16px; /* Previne zoom no iOS */
  }
}
