@import "button.css";
@import "login.css";
@import "navbar.css";
@import "fonts.css";
@import "styles.css";
@import "registro.css";
@import "footer.css";

:root {
  --white: #ffffff;
  --gray30: #f8f8f8;
  --gray35: #b2b2b2;
  --gray50: #707070;
  --gray70: #e5e5e5;
  --gray80: #515151;
  --black10: #252525;
  --black: #000000;

  --hoverBack: #ebecf0;
  --hoverBorder: #403294;
  --focusBorder: #0065ff;

  --secundario1: #70273D;
  --secundario2: #651c32;
  --secundario3: #ac905b;
  --rojo: #BF2600;
  --gris10: #FEFEFE;
  --gris20: #75787b;
  --gris30: #a3a5a8;
  --gris40: #D9D9D9;
  --gris50: #F4F5F7;
  --gris70: #949494b3;
  --gris90: #efeadf;

  --baseFontFamily: "ITC Avant Garde Gothic STD Book", sans-serif;
  --baseFontFamilyBlack: "ITC Avant Garde Gothic STD Bold", sans-serif;
  --secondaryFontFamily: "ITC Avant Garde Gothic STD Medium", sans-serif;
  --baseFont: normal 1rem / 1.1875rem var(--baseFontFamily);
  /* --baseFontSecondary:  */
  --button: 600 1.25rem / 1.5rem var(--baseFontFamily);

  /*========== Colors ==========*/
  /* Change favorite color to match images */
  /*Claret 340 */
  --hue-color: 340;

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 80%, 25%);
  --first-color-second: hsl(var(--hue-color), 75%, 25%);
  --first-color-alt: hsl(var(--hue-color), 64%, 15%);
  --title-color: hsl(var(--hue-color), 64%, 18%);
  --text-color: hsl(var(--hue-color), 24%, 35%);
  --text-color-light: hsl(var(--hue-color), 8%, 60%);
  --input-color: hsl(var(--hue-color), 24%, 97%);
  --body-color: hsl(var(--hue-color), 100%, 99%);
  --white-color: #FFF;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);

  /*========== Font and typography ==========*/
  --body-font: 'ITC Avant Garde Gothic STD Book', sans-serif;
  --title-font: 'ITC Avant Garde Gothic STD Bold', sans-serif;
  --pdf-font-family: Arial, Helvetica, sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --minimal-letter-spacing: 0.045em;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  /*========== Hover overlay ==========*/
  --img-transition: .3s;
  --img-hidden: hidden;
  --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== Button Dark/Light ==========*/

.change-theme, .change-theme-name {
  color: var(--text-color);
}

.change-theme {
  cursor: pointer;
  font-size: 1rem;
}

.change-theme-name {
  font-size: var(--small-font-size);
}

/*=============== BASE ===============*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  letter-spacing: var(--minimal-letter-spacing);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul,
nav li {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav a {
  display: block;
  text-decoration: none;
}
nav a:hover,
nav a:visited {
  text-decoration: none;
}

a {
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: baseline !important;
}

button,
input {
  border: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
}

input {
  outline: none;
}

.main {
  overflow-x: hidden;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* Enlace activo */
.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}
.test-link {
  font-size: 13px;
  color: black;
  margin-inline-end: 0.5rem;
}

.test-link:hover {
  color: black;
}

/* 403 y Redirigiendo */
.forbidden-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4rem;
  box-sizing: border-box;
}
.error-text {
  font-size: 3rem;
  font-weight: bold;
  color: #3b82f6;
  margin-bottom: 1rem;
  text-align: center;
}
.error-description {
  font-size: 1.2rem;
  color: #4b5563;
  margin-bottom: 2rem;
  text-align: center;
}
.forbidden-container svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 2rem;
}
.button-container {
  display: flex;
}
.cta-button {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 2em;
}
.cta-button:hover {
  background-color: #2563eb;
}

.redirecting-container {
  text-align: center;
  padding: 2rem;
  margin:9em;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*BOTON DORADO*/
.dorado {
  border-color: transparent;
  background:#ac905B;
  color: white;
  box-shadow: none;
  min-width: 8rem;
  min-height: 3rem;
  border: none;
  border-radius: 0.25rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  /* font-size: 20px; */
  line-height: 24px;
  font-weight: bold;
  cursor: pointer;
  padding-inline: 0.5rem;
  margin: 2rem 4rem;
}

.dorado svg {
  fill: #dfe1e6;
}

.dorado:hover {   
  border: 1px transparent;
  background: #ccb97e;
  color: white;
  border: 2px solid #ccb97e;
}

.dorado:hover svg {
  fill: white;
  transition: fill 0.3s;
}

.dorado:active { 
  background: transparent;
  color: #ccb97e;
  transition: color 0.3s;
  box-shadow: inset 2 1 0 #0000001A;
  border: 2px solid transparent
}

.dorado:active svg{
  fill: #ccb97e;
}

/*=============== MEDIA QUERIES ===============*/

@media screen and (min-width: 768px) {
  .implan-logo {
    right: 1.5em;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .active-link::before {
    background-color: var(--white-color);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }
}
  
@media screen and (min-width: 1024px) {
  .implan-logo {
    right: 3.5rem;
  }
  .forbidden-container  {
    padding: 6.5rem;
  }
}
  
  @media screen and (min-width: 1200px) {
  .implan-logo {
    right: 8.2rem;
  }
  .forbidden-container  {
    padding: 6.5rem;
  }
}

@media screen and (min-width: 1440px) {
  .implan-logo {
    right: 16rem;
  }
  .forbidden-container  {
    padding: 6.5rem;
  }
}
.notification {
    background: white;
    border-radius: 8px;
    padding: 1em;
    margin: 1em 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.notification:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.subtitulo__noti {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.subtitulo__noti i {
    font-size: 0.9rem;
    color: #666;
}

.tipo__noti {
    font-size: 0.8rem;
    color: #666;
    margin: 0 8px;
    font-weight: 500;
}

.hora__noti {
    font-size: 0.7rem;
    color: #999;
    margin: 0;
}

.estado__noti {
    font-size: 0.9rem;
    color: #333;
    margin: 4px 0;
    font-weight: 600;
}

.notification p {
    color: #666;
    font-size: 0.8rem;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.dropdown-icon {
    position: relative;
}

.dropicon {
    cursor: pointer;
    padding: 3px;
    color: #666;
    transition: color 0.2s;
    font-size: 0.8rem;
}

.dropicon:hover {
    color: #333;
}

.content_dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
    display: none;
    min-width: 120px;
    z-index: 1000;
}

.content_dropdown a {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.2s;
}

.content_dropdown a:hover {
    background-color: #f5f5f5;
}

.content_dropdown i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.content_dropdown.active {
    display: block;
}

.notification.raspberry {
    border-left: 5px solid #9f2240;
}

.notification-loading {
  text-align: center;
  padding: 20px;
  color: #666;
}