.logged-user-box {
  background:
    linear-gradient(135deg, rgba(192, 0, 0, 0.1), rgba(147, 140, 125, 0.18)),
    #fff;
  border: 1px solid rgba(192, 0, 0, 0.12);
  padding: 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.logged-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c00000, #ff3838);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  font-size: 1.4rem;
  flex: 0 0 auto;
}
.logged-user-box strong {
  display: block;
  color: #111;
  font-weight: 900;
}
.logged-user-box span,
.logged-user-box small {
  display: block;
  color: #666;
  margin-top: 3px;
  word-break: break-all;
}
.login-required {
  background:
    radial-gradient(
      circle at top right,
      rgba(192, 0, 0, 0.16),
      transparent 35%
    ),
    linear-gradient(145deg, #fff, #f7f2f2);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.login-required::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, #c00000, #938c7d);
}
.login-lock {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff2f2;
  color: #c00000;
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
  box-shadow: 0 18px 35px rgba(192, 0, 0, 0.16);
}
.login-required span {
  display: inline-block;
  background: #fff2f2;
  color: #c00000;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.login-required h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 12px;
  line-height: 0.95;
}
.login-required p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 26px;
}
.login-required-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-login-required,
.btn-register-required,
.my-citas-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 160px;
  padding: 14px 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  transition: 0.3s;
}
.btn-login-required {
  background: linear-gradient(135deg, #c00000, #ff3838);
  color: #fff;
  box-shadow: 0 16px 35px rgba(192, 0, 0, 0.28);
}
.btn-register-required,
.my-citas-link {
  background: #111;
  color: #fff;
}
.my-citas-link {
  margin-top: 18px;
}
.btn-login-required:hover,
.btn-register-required:hover,
.my-citas-link:hover {
  transform: translateY(-3px);
}
.appointment-note {
  background: #fff7ed;
  color: #9a3412;
  padding: 14px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .login-required {
    padding: 30px 22px;
  }
  .login-required h3 {
    font-size: 2.3rem;
  }
  .login-required-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
