/* CUC Canvas Login — versión unificada */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;700&display=swap');

/* Fuente global que ya existía en canvas.css */
body,
.ic-Layout-contentMain,
.mce-content-body,
.user_content,
#content,
p, span, li, td, th, a,
h1, h2, h3, h4, h5, h6,
button, input, textarea, label {
  font-family: 'Red Hat Display', sans-serif !important;
}

.tox .tox-edit-area__iframe body,
.user_content * {
  font-family: 'Red Hat Display', sans-serif !important;
}

.desaparece { display: none !important; }
.justificar { text-align: justify !important; }

body.ic-Login-Body {
  --red: #9b1b2a;
  --red-dk: #7a1020;
  --gold: #e8a020;
  --navy: #1a1f5e;
  --bg: #f4f6fa;
  --white: #ffffff;
  --gray: #6b7280;
  font-family: "Inter", sans-serif !important;
  background: var(--bg) !important;
}

body.ic-Login-Body #footer.ic-Login-footer,
body.ic-Login-Body .ic-Login-footer {
  display: none !important;
}

body.ic-Login-Body .ic-app .ic-Layout-wrapper {
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
}

body.ic-Login-Body .ic-Login {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 100vh !important;
  background: var(--bg) !important;
  padding: 0 !important;
}

body.ic-Login-Body .ic-Login__container {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 48px 16px 64px !important;
}

body.ic-Login-Body .ic-Login__content {
  background: var(--white) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.13) !important;
  padding: 40px 42px 36px !important;
  border: none !important;
}

body.ic-Login-Body .ic-Login-header {
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 0 20px 0 !important;
  text-align: center !important;
  display: block !important;
}

body.ic-Login-Body .ic-Login-header__logo img {
  max-height: 60px !important;
  width: auto !important;
}

body.ic-Login-Body .mobileLogin-Header {
  background-image: url("https://ced.com.co/reseller/pal-moodle/cuc_logo.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.mobileLogin-Header{
    background-image: url("https://ced.com.co/reseller/pal-moodle/cuc_logo.svg") !important;
}

body.ic-Login-Body .ic-Login__body h2,
body.ic-Login-Body .ic-Login__body .ic-Form-heading {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  text-align: center !important;
  margin-bottom: 4px !important;
}

body.ic-Login-Body #ic-login_form {
  gap: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
}

body.ic-Login-Body .ic-Input {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-family: "Inter", sans-serif !important;
  background: #fafafa !important;
  transition: border 0.2s, box-shadow 0.2s !important;
  outline: none !important;
}

body.ic-Login-Body .ic-Input:focus {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(155, 27, 42, 0.12) !important;
  background: #fff !important;
}

body.ic-Login-Body .ic-Label,
body.ic-Login-Body .ic-Form-control--login .ic-Label,
body.ic-Login-Body .ic-Login__actions .ic-Login__actions-timeout label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin-bottom: 7px !important;
  display: block !important;
}

body.ic-Login-Body .Button--login,
body.ic-Login-Body .ic-Login__actions .Button--login {
  width: 100% !important;
  padding: 13px !important;
  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: "Inter", sans-serif !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.1s !important;
  margin-top: 6px !important;
}

body.ic-Login-Body .Button--login:hover {
  background: var(--red-dk) !important;
  transform: translateY(-1px) !important;
}

body.ic-Login-Body .ic-Login__actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 14px !important;
  font-size: 13px !important;
  flex-wrap: wrap !important;
}

body.ic-Login-Body .ic-Login__link,
body.ic-Login-Body .forgot-password,
body.ic-Login-Body .custom-forgot-password-link {
  color: var(--red) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.ic-Login-Body .ic-Login__link:hover,
body.ic-Login-Body .forgot-password:hover,
body.ic-Login-Body .custom-forgot-password-link:hover {
  text-decoration: underline !important;
}

body.ic-Login-Body .ic-Login__forgot {
  display: block !important;
}

body.ic-Login-Body .custom-forgot-password-link--fallback {
  margin-left: auto !important;
}

body.ic-Login-Body .custom-forgot-password-link--mobile {
  display: inline-flex !important;
  margin-top: 14px !important;
}

body.ic-Login-Body .cuc-topbar {
  background: #1a1f5e;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  width: 100%;
  box-sizing: border-box;
}

body.ic-Login-Body .cuc-topbar a {
  color: #e8a020;
  text-decoration: none;
}

body.ic-Login-Body .cuc-topbar a:hover {
  text-decoration: underline;
}

body.ic-Login-Body .cuc-guide {
  margin-top: 28px;
}

body.ic-Login-Body .cuc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}

body.ic-Login-Body .cuc-divider::before,
body.ic-Login-Body .cuc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

body.ic-Login-Body .cuc-guide-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1a1f5e;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}

body.ic-Login-Body .cuc-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
}

body.ic-Login-Body .cuc-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #9b1b2a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
}

body.ic-Login-Body .cuc-step p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  padding-top: 3px;
  margin: 0;
  font-family: "Inter", sans-serif;
}

body.ic-Login-Body .cuc-step p strong {
  color: #1a1f5e;
}

body.ic-Login-Body .cuc-step p em {
  font-style: italic;
}

body.ic-Login-Body .cuc-btn-video {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 20px !important;
  padding: 13px !important;
  background: #1a1f5e !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: "Inter", sans-serif !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s !important;
  box-sizing: border-box !important;
}

body.ic-Login-Body .cuc-btn-video:hover {
  background: #2d3580 !important;
  transform: translateY(-1px) !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.ic-Login-Body .cuc-btn-video .cuc-play-icon {
  width: 28px;
  height: 28px;
  background: #e8a020;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  color: #1a1f5e;
}

.list-view a.active {
  border-left: 2px solid #A3161A !important;
  color: #A3161A !important;
}

.list-view > ul > li > a:hover,
.list-view > nav > ul > li > a:hover,
.list-view > div > nav > ul > li > a:hover {
  color: #A3161A !important;
}

form.form-horizontal-wiki-page.edit-form.validated-form-view fieldset.responsive-control-group.options {
  display: none !important;
}

@media (max-width: 767px) {
  body.ic-Login-Body .ic-Login {
    align-items: stretch !important;
  }

  body.ic-Login-Body .ic-Login__container {
    max-width: 100% !important;
    padding: 20px 12px 36px !important;
  }

  body.ic-Login-Body .ic-Login__content {
    border-radius: 16px !important;
    padding: 24px 18px 24px !important;
  }

  body.ic-Login-Body .ic-Login-header {
    padding: 0 0 14px 0 !important;
  }

  body.ic-Login-Body .cuc-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 14px;
  }

  body.ic-Login-Body .ic-Login__actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.ic-Login-Body .custom-forgot-password-link,
  body.ic-Login-Body .forgot-password {
    width: 100%;
    text-align: left;
    margin-top: 2px;
  }

  body.ic-Login-Body .cuc-guide {
    margin-top: 22px;
  }

  body.ic-Login-Body .cuc-step {
    gap: 10px;
  }

  body.ic-Login-Body .cuc-step p {
    font-size: 12.5px;
  }
}
