.real-auth {
  max-width: 1500px;
  padding: 32px 40px;
}
.real-auth-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) 1.15fr;
  gap: 56px;
  align-items: stretch;
  margin: 34px 0;
}
.real-auth .cloud-login {
  border: 0;
  box-shadow: none;
  background: transparent;
  margin: 25px 0;
  padding: 20px 24px;
  max-width: 520px;
}
.real-auth #nucleo-cloud h1 {
  font-size: 38px;
}
.real-auth-visual {
  min-height: 660px;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #e7f1ec;
}
.real-auth-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  object-position: 100% center;
}
.real-auth-visual > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  color: #fff;
  background: linear-gradient(transparent, #173f37d9);
  padding-top: 110px;
}
.real-auth-visual h2 {
  font-size: 40px;
  letter-spacing: -1.2px;
  line-height: 1.16;
  margin: 12px 0;
}
.real-auth-visual .eyebrow,
.real-auth-visual p {
  color: #e9faf1 !important;
}
.auth-divider {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
  color: #758e83;
  font-size: 13px;
}
.auth-divider:before,
.auth-divider:after {
  content: '';
  height: 1px;
  background: #d4e5dc;
  flex: 1;
}
.google-letter {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: #4285f4;
  margin-right: 10px;
}
.auth-links {
  display: flex;
  gap: 6px;
  justify-content: space-between;
}
.auth-links .btn {
  font-size: 13px !important;
  padding: 6px;
  width: auto;
  min-height: 36px !important;
}
.auth-switch {
  text-align: center;
}
.auth-switch .btn {
  display: inline-flex;
  width: auto;
  padding: 4px;
  min-height: 32px !important;
  margin: 0;
}
.auth-demo-entry {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #d8e7df;
  text-align: center;
}
.auth-demo-entry small {
  display: block;
  font-size: 13px;
  color: #6d8379;
  margin-top: 12px;
}
.cloud-topbar .brand-mark svg,
.real-auth .brand-mark svg {
  width: 28px;
  height: 28px;
}
.cloud-topbar .brand-name,
.real-auth .brand-name {
  letter-spacing: -1.2px;
}
.ops-next {
  background: linear-gradient(120deg, #e2f1e9, #f5faf7);
  border: 1px solid #bedbcc;
  border-radius: 26px;
  padding: 32px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 28px;
  overflow: hidden;
}
.ops-next-person {
  display: flex;
  gap: 24px;
  align-items: center;
}
.ops-next .ops-avatar {
  width: 110px;
  height: 110px;
  font-size: 35px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px #24584212;
  border: 4px solid #fff;
}
.ops-next h2 {
  font-size: 36px !important;
  margin: 9px 0 !important;
}
.ops-next p {
  margin: 8px 0;
}
.ops-next-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #507768;
}
.ops-next-meta span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ops-next-meta .icon {
  width: 17px;
  height: 17px;
}
.ops-next-action {
  display: grid;
  gap: 13px;
  justify-items: start;
  max-width: 250px;
}
.ops-next-action small {
  color: #688579;
  line-height: 1.5;
}
.ops-next-empty {
  padding: 22px 0 22px 24px;
  min-height: 160px;
}
.ops-next-empty h2 {
  font-size: 24px !important;
}
.ops-next-empty > div {
  max-width: 780px;
}
.ops-care-image {
  width: 24%;
  align-self: stretch;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  margin: -22px 0;
  max-height: 205px;
}
.ops-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f1eb;
  color: #247b6d;
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.ops-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ops-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0 30px;
}
.ops-stats .panel {
  padding: 24px;
}
.ops-stats span {
  display: block;
  color: #668276;
  font-size: 14px;
}
.ops-stats strong {
  display: block;
  font-size: 30px;
  margin-top: 12px;
}
.ops-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.ops-heading h2 {
  margin: 0;
  font-size: 22px;
}
.ops-heading h1 {
  margin: 0;
}
.ops-overview-heading {
  margin: 28px 0 22px;
}
.ops-overview-heading h1 {
  margin: 10px 0 !important;
}
.ops-overview-heading p {
  margin: 0;
  color: #668276;
}
.ops-schedule {
  padding: 24px 0;
  overflow: hidden;
}
.ops-schedule > .ops-heading,
.ops-date {
  margin: 0 24px 20px;
}
.ops-date {
  max-width: 220px;
}
.ops-schedule table {
  width: 100%;
  border-collapse: collapse;
}
.ops-schedule td,
.ops-schedule th {
  padding: 18px 22px;
  border-bottom: 1px solid #e6efe9;
  text-align: left;
  font-size: 14px;
}
.ops-schedule th {
  font-size: 12px;
  color: #668477;
  background: #f6faf7;
}
.ops-schedule small {
  display: block;
  color: #738b7e;
  margin-top: 6px;
}
.ops-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.ops-actions .btn {
  font-size: 13px !important;
}
.ops-form {
  padding: 28px;
  margin-bottom: 24px;
}
.ops-form form {
  display: grid;
  gap: 24px;
}
.ops-form .cloud-field {
  font-size: 15px;
  margin-bottom: 18px;
}
.ops-form h2 {
  font-size: 24px;
  margin-bottom: 24px;
}
.ops-photo-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.ops-photo-row .ops-avatar {
  width: 84px;
  height: 84px;
}
.ops-photo-row input {
  display: none;
}
.ops-patients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.ops-patient-card {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ops-patient-card h2 {
  font-size: 19px;
  margin: 2px 0;
}
.ops-patient-card p {
  font-size: 14px;
  margin: 5px 0;
}
.ops-encounter-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0 30px;
}
.ops-encounter-head .ops-avatar {
  width: 88px;
  height: 88px;
}
.ops-floating {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1030;
  background: #fff;
  box-shadow: 0 12px 55px #183f382e;
  border: 1px solid #c0ded1;
  border-radius: 24px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: calc(100vw - 32px);
}
.ops-floating small {
  display: block;
  margin-top: 4px;
  color: #6c857a;
  font-size: 12px;
}
.ops-floating .ops-avatar {
  width: 42px;
  height: 42px;
  font-size: 14px;
}
.cloud-main {
  padding-bottom: 140px !important;
}
.ops-form textarea[readonly] {
  background: #f6faf7 !important;
}
.cloud-shell nav .icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
  transform: none !important;
}
.cloud-shell nav button {
  align-items: center !important;
}
.cloud-shell nav button:hover .icon {
  transform: translateY(-1px) !important;
  transition: transform 0.16s ease;
}
.ops-next,
.ops-patient-card,
.real-auth-grid {
  animation: ops-appear 0.3s ease both;
}
@keyframes ops-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .ops-patients {
    grid-template-columns: repeat(2, 1fr);
  }
  .real-auth-grid {
    gap: 24px;
  }
  .ops-next {
    padding: 24px;
  }
  .ops-next .ops-avatar {
    width: 88px;
    height: 88px;
  }
  .ops-next h2 {
    font-size: 28px !important;
  }
  .ops-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .real-auth {
    padding: 22px;
  }
  .real-auth-grid {
    display: block;
    margin: 0;
  }
  .real-auth .cloud-login {
    margin: 24px auto;
    padding: 0;
  }
  .real-auth-visual {
    display: none;
  }
  .ops-next {
    display: block;
  }
  .ops-next-person {
    gap: 14px;
  }
  .ops-next-action {
    max-width: none;
    margin-top: 20px;
  }
  .ops-next .ops-avatar {
    width: 70px;
    height: 70px;
  }
  .ops-next h2 {
    font-size: 25px !important;
  }
  .ops-care-image {
    display: none;
  }
  .ops-patients {
    grid-template-columns: 1fr;
  }
  .ops-stats {
    gap: 12px;
  }
  .ops-stats .panel {
    padding: 18px;
  }
  .ops-form {
    padding: 20px;
  }
  .ops-floating {
    gap: 10px;
    padding: 10px 12px;
  }
  .ops-floating .ops-avatar {
    display: none;
  }
  .ops-floating strong {
    font-size: 13px;
  }
  .ops-floating .btn {
    font-size: 12px !important;
  }
  .ops-heading {
    align-items: flex-start;
  }
  .cloud-topbar .cloud-account > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ops-next,
  .ops-patient-card,
  .real-auth-grid {
    animation: none;
  }
  .cloud-shell nav button:hover .icon {
    transform: none !important;
  }
}
