* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding-top: 100px;
}

.header {
  background: #0096db;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.header img {
  height: 60px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-right img {
  height: 105px !important;
  width: auto !important;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-btn {
  padding: 6px 10px;
  font-size: 1.2rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.home-btn:hover {
  color: #007bff;
}

.logo-text {
  height: 110px !important;
  width: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.welcome-message {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid #c8d6df;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.92), 0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.welcome-message h2 {
  color: #0096D6;
  margin-bottom: 1rem;
}

.mascota-img {
  max-height: 120px;
  display: block;
  margin: 0 auto 1rem auto;
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* Animaci¨®n al pasar el mouse */
.mascota-img:hover {
  transform: scale(1.15) rotate(-3deg);
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.3));
}


.options-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.option-card {
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  color: #333;
  background-color: #02b3ff3b;
}

.option-card:hover {
  transform: translateY(-5px);
  background-color: #0096D6;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.option-card.register:hover { background-color: #02b3ff; color: white; }
.option-card.consult:hover { background-color: #00c50a; color: white; }
.option-card.users:hover   { background-color: #ff7300; color: white; }
.option-card.perfil:hover  { background-color: #753ff3; color: white; }
.option-card.help:hover    { background-color: #eeff00; color: white; }
.option-card.logout:hover  { background-color: #e53935; color: white; }

.option-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.option-card p {
  opacity: 0.9;
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.option-Home {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.login-form,
.register-form {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.login-form h2,
.register-form h2 {
  color: #0096D6;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.login-btn,
.register-btn {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: white;
}

.login-btn {
  background-color: #1877f2;
}

.login-btn:hover {
  background-color: #145dbf;
}

.register-btn {
  background-color: #42b72a;
}

.register-btn:hover {
  background-color: #36a420;
}

.tab-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.tab-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.tab-arrow img {
  width: 40px;
  height: 40px;
}

.tab-arrow:hover {
  transform: scale(1.1);
}

.tab-container {
  width: 220px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab-button {
  display: none;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
  width: 100%;
}

.tab-button.active {
  display: block;
  background: #0096D6;
  color: white;
  border-color: #0096D6;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tabla-inspeccion {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.tabla-inspeccion th,
.tabla-inspeccion td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: middle;
}

.tabla-inspeccion th {
  background-color: #f2f2f2;
  text-align: left;
}

.tabla-inspeccion select,
.tabla-inspeccion input[type="text"] {
  width: 100%;
  padding: 4px;
  box-sizing: border-box;
}

.tabla-inspeccion td label {
  display: inline-block;
  margin-right: 10px;
  padding: 6px 10px;
  background: #0096D6;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.tabla-inspeccion td label:hover {
  background: #007bb3;
}

.tabla-inspeccion td input[type="file"] {
  display: none;
}

.registro-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.registro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.persona-card {
  border: 1px solid #eee;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  background: #fdfdfd;
}

.persona-card h4 {
  margin-top: 0;
  color: #333;
  font-weight: bold;
}

.registro-imagen {
  margin-top: 8px;
}

.registro-imagen img {
  max-width: 150px;
  border: 1px solid #aaa;
  border-radius: 5px;
  display: block;
}

.perfil-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 2rem auto;
  text-align: left;
}

.perfil-card h2 {
  color: #0096D6;
  margin-bottom: 0.5rem;
  text-align: center;
}

.perfil-card p {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

.perfil-card .login-btn {
  margin-top: 1rem;
}



.login-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  max-width: 900px;
  margin: auto;
}

body.login-page .login-container {
  background: transparent; 
  box-shadow: none;
  max-width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


body.login-page .login-card {
  width: 400px;              
  padding: 1.5rem;           
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95); 
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.login-left {
  max-width: 400px;
}

.login-left .brand {
  font-size: 3rem;
  color: #ffffff !important;
  margin-bottom: 1rem;
}

.login-left p {
  font-size: 1.3rem;
  color: #ffffff !important;
}

.login-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.IS {
     color:#1c1e21 !important;
  display: flex;
  justify-content: center;
  align-items: center;

}

.login-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-card input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.forgot-link {
  text-align: center;
  color: #1877f2;
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-link:hover {
  text-decoration: underline;
}

hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

.LoginMan-img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.LoginMan-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 6px rgba(43, 255, 1, 0.4));
  animation: softPulse 1.5s infinite alternate;
}

.LoginManError-img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.LoginManError-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.301));
  animation: softPulse 1.5s infinite alternate;
}

@keyframes softPulse {
  0% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 6px rgba(0, 123, 255, 0.3));
  }
  100% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.5));
  }
}


@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .options-container {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

.profile-pic-container {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0096D6;
  display: block;
  margin: 0 auto;
}

#upload-pic {
  margin-top: 0.5rem;
}

#profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #0096D6;
  display: block;
  margin: 0 auto 1rem auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
}

.logo {
  height: 95px !important;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px rgba(0, 123, 255, 0.4));
}

.social-icons {
  display: flex;
  align-items: center;
  margin-left: 120px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-left: 12px;
  vertical-align: middle;
  transition: transform 0.2s ease-in-out;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.youtube-icon {
  width: 28px;
  height: 28px;
}

.main-header {
  background: #fff;
  padding: 12px 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.main-nav a {
  color: #002d72;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
}

.main-nav a:hover,
.main-nav .active {
  border-bottom: 2px solid #0096db;
  padding-bottom: 4px;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.acciones-botones {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-delete {
  background-color: #e53935;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  height: 42px;
}

.btn-delete:hover {
  background-color: #c62828;
}

.login-btn {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfil-card form .login-btn {
  margin-top: 15px;
}

.form-grid .profile-pic-container {
  grid-column: span 2;
  text-align: center;
}

.form-grid .profile-pic {
  margin: 0 auto 1rem auto;
  display: block;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


.login-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  max-width: 900px;
  margin: auto;
}



body.login-page .login-card {
  width: 400px;
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ayuda-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.ayuda-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ayuda-header h2 {
  color: #0096D6;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.ayuda-header p {
  color: #555;
  font-size: 1.1rem;
}

.ayuda-cards {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.ayuda-cards::-webkit-scrollbar {
  height: 10px;
}

.ayuda-cards::-webkit-scrollbar-thumb {
  background: #0096D6;
  border-radius: 5px;
}

.ayuda-card {
  flex: 0 0 350px;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ayuda-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.ayuda-card h3 {
  font-size: 1.5rem;
  color: #002d72;
  margin-bottom: 1rem;
}

.ayuda-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.ayuda-card img {
  max-height: 180px;
  width: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.ayuda-card img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
@media (max-width: 768px) {


  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .social-icons {
    margin-left: 0;
    margin-top: 10px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .login-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
    min-height: auto;
  }

  .login-left {
    max-width: 100%;
    text-align: center;
  }

  .login-left .brand {
    font-size: 1.8rem;
    color: #fff;
  }

  .login-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .login-card {
    width: 100%;
    max-width: 340px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .LoginMan-img {
    height: 120px;
  }

  header.header {
    position: static;
  }

  body {
    padding-top: 0;
  }
}
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; 
}
body.login-page {
  background: url("/Images/Wallpaper.jpg") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}