body {
  background-color: #fafafa;
}

.sidenav {
  width: 300px;
  background-color: #f5f5f5;
}

.sidenav li > a {
  color: #333;
  font-weight: 400;
}

.sidenav li > a:hover {
  background-color: #e0e0e0;
}

.brand-logo-sidebar {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #e0e0e0;
  margin-left: 8px;
}

.brand-logo-sidebar img {
  width: 120px;
}

.version-text {
  font-size: 14px;
  color: #666;
}

main {
  padding-left: 0;
  transition: padding-left 0.3s;
}

.titulo-pagina {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 15%;
}


@media only screen and (min-width: 992px) {
  main {
    padding-left: 250px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 20px;
}

.search-container {
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
}

.search-box {
  background: white;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 15px 25px;
  gap: 15px;
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
}

.search-box i {
  color: #666;
  cursor: pointer;
}

input[type=text] {
  border-bottom: 0px solid #9e9e9e !important;
}

nav {
  color:#fff;
  background-color:#95848400;
  width:100%;
  height:56px;
  line-height:56px;
  box-shadow: 0 2px 2px 0 rgba(64, 46, 46, 0),0 3px 1px -2px rgba(0, 0, 0, 0),0 1px 5px 0 rgba(0, 0, 0, 0) !important;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0),0 3px 1px -2px rgba(0, 0, 0, 0),0 1px 5px 0 rgba(0, 0, 0, 0) !important;

}

.logo2 {
  position: relative;
  left: 0px
  top: 14px;
  margin-left: 321px;
}

nav iconify-icon {
  color: #000000 !important;
  margin-top: 12px;
}



.main-title {
  font-size: 28px;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.sidenav-trigger {
  margin: 15px;
}

.footer-item {
  position: absolute;
  bottom: 86px;
  width: 100%;
}

.user-section {

  position: absolute;
  bottom: 160px;
  width: 100%;
  vertical-align: middle;

  display: flex;
  left: 21px;

}

.user-section img{
  width: 16%;
}

.menu-icon {
  margin-right: 15px;
}

.fab-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
}

/* Category tabs */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding: 10px 0;
}

.category-tabs a {
  color: #666;
  text-decoration: none;
  padding: 10px 15px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.category-tabs a:hover,
.category-tabs a.active {
  color: #333;
  border-bottom-color: #333;
}

.category-tabs .arrow {
  cursor: pointer;
  color: #666;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.card-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-header {
  margin-bottom: 20px;
}

.card-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.card-header p {
  color: #666;
  font-size: 13px;
  margin: 0;
}

.card-content-box {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 48px;
}

.card-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.card-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.card-action a{
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.card-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.card-action:hover {
  color: #000;
}

/* Load more button */
.load-more-container {
  text-align: center;
  margin: 40px 0;
}

.load-more-btn {
  background: white;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 12px 40px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  background: #f5f5f5;
  border-color: #333;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.left-content {
  margin-left: 57px;
}

/* Left content */
.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.section-header p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.info-card {

  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;

}

.info-card-header {
  display: flex;
  gap: 20px;
  align-items: start;
  margin-bottom: 15px;
}

.info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 48px;
}

.info-content h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.info-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.info-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.action-link:hover {
  color: #000;
}


.action-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.action-link:hover {
  color: #000;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.text-content {

  border-radius: 12px;
  padding: 30px;

}

.text-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.text-content p {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 15px 0;

}


.text-content strong {
  font-weight: 600;
}


/* ANIMACION TIPO CHAT GPT */

.typewriter H3{
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid orange; /* The typwriter cursor */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation:
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}


/**********************/


/* Right sidebar form */
.form-sidebar {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.form-sidebar::-webkit-scrollbar {
  width: 6px;
}

.form-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.form-sidebar::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.form-sidebar::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.form-header {
  margin-bottom: 20px;
}

.form-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-header p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.required-indicator {
  color: #e53935;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: #333;
}

.form-group select {
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-group a {
  color: #1976d2;
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #e53935;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #c62828;
}

@media only screen and (max-width: 992px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 992px) {
  nav .brand-logo {
    left: 80%;
  }

  .logo2 {
    display: none !important;
  }

  .left-content {
    margin-left: -2px;
  }


}
