/* SAM shared styles */

.sam-link-underline {
  text-decoration: underline;
}

.sam-link-underline:hover,
.sam-link-underline:focus {
  text-decoration: underline;
}

.sam-current-unit-item {
  padding-top: 14px;
}

.sam-current-unit-link {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.sam-users-check-column {
  width: 42px;
}

.sam-users-actions-column {
  width: 120px;
}

.sam-unidade-card {
  cursor: pointer;
}

.sam-multiselect-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  padding: 0.75rem;
  background: #fff;
}

.sam-checkbox-option {
  padding: 0.25rem 0;
}

.sam-checkbox-option .checkbox {
  margin: 0;
}

.sam-checkbox-option label {
  font-weight: 400;
  margin-bottom: 0;
}

body.sam-login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 177, 157, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(37, 41, 50, 0.12), transparent 28%),
    linear-gradient(135deg, #f4f8f7 0%, #eef4f2 100%);
}

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

.login-card {
  width: 100%;
  max-width: 980px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(37, 41, 50, 0.16);
  background: #fff;
}

.login-hero {
  min-height: 100%;
  padding: 48px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(0, 177, 157, 0.96), rgba(0, 127, 111, 0.94)),
    url("../../../images/big/img1.jpg") center/cover;
  position: relative;
}

.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 23, 27, 0.1), rgba(12, 23, 27, 0.45));
}

.login-hero-content {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 28px;
  margin-bottom: 28px;
}

.hero-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.78;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.06;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero-copy {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 32px;
}

.login-panel {
  padding: 48px 44px;
}

.login-panel .logo-lg {
  line-height: 1.1;
  margin-bottom: 8px;
}

.login-panel .form-control {
  border-radius: 12px;
  border-color: #d5dedb;
  height: 46px;
  box-shadow: none;
}

.login-panel .input-group-addon {
  border-radius: 12px 0 0 12px;
  border-color: #d5dedb;
  background: #f6f8f7;
  color: #00b19d;
  min-width: 46px;
  justify-content: center;
}

.login-panel .input-group .form-control {
  border-radius: 0 12px 12px 0;
}

.login-panel .btn-custom {
  border-radius: 12px;
  background: linear-gradient(135deg, #00b19d, #018f7f);
  border: 0;
  box-shadow: 0 14px 30px rgba(0, 177, 157, 0.28);
}

.login-meta {
  color: #6f7b79;
}

.login-alert {
  border-radius: 12px;
}

@media (max-width: 991.98px) {
  .login-hero {
    min-height: auto;
    padding: 34px 28px;
  }

  .login-panel {
    padding: 34px 28px;
  }
}
