@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('footer.css');

:root {
  --primary-light: #567c8d;
  --primary-main: #2b7bb8;
  --primary-dark: #1e376d;
  --gris-perla: #E6E6E8;
  --azul-pizarra: #5B7B9A;
  --dorado-suave: #DAA520;
  --verde: #00ffae;
  --accent-gradient: linear-gradient(135deg, #8c1c40, #c9164f);
  --accent-gradient-hover: linear-gradient(135deg, #9b1643, #eb0335);
  --dorado-gradiente: linear-gradient(135deg, #00ffae, hsl(161, 100%, 43%));
  --dorado-gradiente-2: linear-gradient(135deg, hsl(161, 100%, 47%), #00ffae);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.95);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-default: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1400px;
  --header-height: 4rem;
  --nav-button-radius: 0.5rem;
  
  --z-header: 1000;

  --sidebar-width: 250px;
}

* {
  line-height: 1.7;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.4);
}

*::-webkit-scrollbar-thumb {
  background: var(--primary-main);
  border-radius: 3px;
}

@-webkit-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(-45deg, #ffffff, #eaf4fc, #ddf6ff, #dee3e6);
	background-size: 400% 400%;
	-webkit-animation: gradient 10s ease infinite;
	        animation: gradient 10s ease infinite;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}


/* Estilos sidebar */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  height: var(--header-height);
  color: var(--text-primary);
  z-index: 1000;
  /* box-shadow: var(--shadow-md); */
  background: linear-gradient(to right, var(--primary-dark), var(--primary-main));
  transition: all 0.3s ease;
}

.logo {
  height: 2.25rem;
  width: 2.25rem;
  padding: 0.375rem;
  background-color: white;
  border-radius: 0.75rem;
  /* box-shadow: var(--shadow-sm); */
  transition: var(--transition-default);
}

.logo:hover {
  transform: scale(1.05);
  /* box-shadow: var(--shadow-md); */
}

.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  white-space: nowrap;
  padding-left: var(--sidebar-width); 
  transition: var(--transition-fast);
}

.brand-link:hover {
  opacity: 0.9;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1rem;
}

.nav-button {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--nav-button-radius);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: var(--transition-default);
  /* user-select: none; */
}

.nav-button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: var(--transition-default);
  transform: translateX(-50%);
}

.nav-button:hover:after {
  width: 80%;
}

.nav-button span {
  position: relative;
  z-index: 1;
}

.nav-button:hover {
  color: var(--text-primary);
}

.nav-button.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.nav-button.premium {
  color: var(--text-primary);
  background: var(--accent-gradient);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  /* box-shadow: var(--shadow-sm); */
  transform: translateY(0);
  transition: all var(--transition-smooth);
}

.nav-button.premium:hover {
  transform: translateY(-2px);
  /* box-shadow: var(--shadow-hover); */
  background: var(--accent-gradient-hover);
}

.nav-button.premium:active {
  transform: translateY(0);
}

.nav-button.premium:after {
  display: none;
}

.mobile-menu-button,
.mobile-menu {
  display: none;
}

@media (max-width: 1520px) {
  .brand-link{
    padding-left: 0rem;
  }
}

@media (max-width: 1270px) {  
  .header {
    position: fixed;
  }

  .header-content {
    padding: 0 0rem;
  }

  .nav-container {
    position: relative;
    display: flex;
    justify-content: center;
  }

  .brand-link {
    margin-left: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-left,
  .nav-right {
    display: none;
  }
  
  .mobile-menu-button {
    display: block;
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1202;
    opacity: 30%;
    transition: all 0.4s ease;
  }

  .mobile-menu-button:hover{
    opacity: 100%;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 30%;
    height: calc(100vh - var(--header-height));
    background: linear-gradient(160deg, var(--primary-dark), var(--primary-main));
    padding: 1.5rem;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-menu.open {
    right: 0;
    /* box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); */
  }
  
  .mobile-menu .nav-button {
    width: 100%;
    padding: 1rem 1.25rem;
    margin: 0.25rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  
  .mobile-menu .nav-button:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-menu .nav-button:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
  }
  
  .mobile-menu .nav-button.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-weight: 500;
  }
  
  .mobile-menu .nav-button.premium {
    background: var(--accent-gradient);
    color: white;
    margin: 1rem 0;
    padding: 1.2rem 1.25rem;
    border: none;
    font-weight: 500;
    text-align: center;
    justify-content: center;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  }
  
  .mobile-menu .nav-button.premium:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(2px);
    /* box-shadow: var(--shadow-hover); */
  }
  
  .mobile-menu .nav-button:last-child {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 810px) { 
  .mobile-menu {
    width: 100%;
  }
}


/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-main));
  color: white;
  transform: translateX(0);
  transition: all 0.3s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  transform: translateX(-100%);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}


.toggle-sidebar {
  position: fixed;
  top: 0.8rem;
  background-color: var(--dorado-suave);
  color: var(--text-primary);
  border: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.375rem;
  cursor: pointer;
  z-index: 1101;
  transition: all 0.3s ease;
  opacity: 100%;
  font-size: 1.4rem;
}

.toggle-sidebar:hover{
  opacity: 100%;
}

.toggle-sidebar.open {
  font-size: 1rem;
  left: 11.8rem;
  background-color: var(--text-primary);
  color: var(--primary-main);
  width: 1.8rem;
  height: 1.8rem;
  top: 0.8rem; 
}

.toggle-sidebar.closed {
  left: 1rem;
}

.case-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.case-list::-webkit-scrollbar {
  width: 6px;
}

.case-list::-webkit-scrollbar-track {
  background: transparent;
}

.case-list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}


.storage-info {
  margin: 1rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

/* Estilos de la sección caso */
.case-type-buttons {
  display: flex;
  flex-direction: column;
  gap: 1px;
  height: fit-content;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.case-type-buttons a {
  height: fit-content;
  width: 100%;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  color: white;
  display: flex;
  justify-content: left;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.case-type-buttons button {
  height: fit-content;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  color: white;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: .3rem 1rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: all 0.4s ease-in-out;

  display: block;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
  overflow: hidden;
}

.case-type-buttons button.active {
  background-color: var(--primary-main);
  color: #fff;
}

.case-type-buttons button:hover {
  color: var(--primary-dark);
  background-color: white;
}

/* estilo del main content */
.main-content {
  margin-top: 3.5rem;
  flex: 1;
  width: 98%;
  padding: 1rem;
  transition: all 0.3s ease;
  margin-left: 2rem;
}

.main-content.sidebar-close {
  margin-left: -5rem;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2.5rem;
}

h2.page-title {
  margin-top: -2.5rem;
  font-size: 1.5rem;
  font-weight: auto;
  color: var(--primary-dark);
  margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
  .main-content {
    margin-left: 0.5rem;
    width: 96%;
  }

  .main-content.sidebar-close {
      margin-left: 0.5rem;
      width: 96%;
  }

  .header {
    width: 100%;
  }

  .header.sidebar-close {
      width: 100%;
  }

  .nav-container {
      justify-content: start;
  }

  .nav-button {
      padding: 0.5rem 0.75rem;
      font-size: 0.875rem;
  }

  .sidebar {
    width: 100%;
  }

  .toggle-sidebar {
    opacity: 30%;
    transition: all 0.4s ease;
  }

  .toggle-sidebar:hover{
    opacity: 100%;
  }

  .toggle-sidebar.open{
    left: auto !important;
    right: 1rem !important;
  }
}

@media (min-width: 960px) {
  .main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    max-width: calc(100% - var(--sidebar-width));
    width: 100%;
    transition: width 0.5s ease;
  }

  .main-content.sidebar-close {
    margin-left: 0rem;
    max-width: calc(100% + var(--sidebar-width) +5rem);
    width: 100%;
  }

}

/* subir sentencia y titulo */
.content-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  /* box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.15); */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section {
  margin-bottom: 2rem;
}

.section h2 {
  margin-bottom: 1rem;
  color: black;
}

.input-group {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}


/* estilo para que aparezcan los litigantes */
input[type="text"] {
  width: 20%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  input[type="text"] {
    width: 100%;
  }
}


.button-primary {
  background-color: var(--primary-main);
  transition: all 0.4s;
}

.button-primary:hover {
  background-color: #267fd3;
  transform: translateY(-2px);
  /* box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); */
}

.button-success {
  background-color: var(--dorado-suave);
  transition: all 0.4s;
}

.button-success:hover {
  background-color: #da9020;
  transform: translateY(-2px);
  /* box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); */
}

.button-danger {
  background-color: #8c1c40;
  transition: all 0.4s;
}

.button-danger:hover {
  background-color: #b6142a;
  transform: translateY(-2px);
  /* box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); */
}


.form-group {
  margin-bottom: 10px;
}


.center {
  margin: auto;
  width: 50%;
  padding: 10px;
  vertical-align: middle;
  text-align: center;
}

.general-button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #1e376d, #2b7bb8);
  border: none;
  border-radius: 15px;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), inset 0 -4px 0 rgba(255, 255, 255, 0.2); */
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.general-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(0, 89, 255, 0.055), transparent);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

.general-button:hover::before {
  left: 200%;
}

.general-button:hover {
  transform: translateY(-3px) scale(1.04);
  /* box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), inset 0 -5px 0 rgba(255, 255, 255, 0.3); */
}

.general-button:active {
  transform: translateY(2px) scale(0.98);
  /* box-shadow: 0 4px 11px rgba(0, 0, 0, 0.15), inset 0 -3px 0 rgba(255, 255, 255, 0.2); */
}

.ejecutar {
  background: linear-gradient(135deg, #1e376d, #2b7bb8);
}

.ejecutar:hover {
  background: linear-gradient(135deg, #193166, #1f669c);
}

.eliminar {
  background: linear-gradient(135deg, #d32f2f, #f44336);
}

.eliminar:hover {
  background: linear-gradient(135deg, #b71c1c, #e53935);
}

.submit-button {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 1.5rem auto;
  position: relative;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #1e376d, #2b7bb8);
  border: none;
  border-radius: 15px;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), inset 0 -4px 0 rgba(255, 255, 255, 0.2); */
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  background: linear-gradient(135deg, #193166, #1f669c);
  transform: translateY(-3px) scale(1.04);
  /* box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), inset 0 -5px 0 rgba(255, 255, 255, 0.3); */
}

.eliminar-button{
  padding: 6px 8px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: white;
  cursor: pointer;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #d32f2f, #f44336);
  border-color: #eb0335;
}

.reanalizar-button, .guardar-button {
  padding: 6px 8px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #0dbb84, hsl(161, 100%, 62%));
}

.guardar-button {
  background: linear-gradient(135deg, #1e376d, #2b7bb8);
  /* box-shadow: none; */
}

.secondary-button {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: -2rem auto;
  position: relative;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #0dbb84, hsl(161, 100%, 62%));
  border: none;
  border-radius: 15px;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), inset 0 -4px 0 rgba(255, 255, 255, 0.35); */
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secondary-button:hover {
  background: linear-gradient(135deg, #0bb37d, hsl(161, 89%, 56%));
  transform: translateY(-3px) scale(1.04);
  /* box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), inset 0 -5px 0 rgba(255, 255, 255, 0.4); */
}

.alert {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff9900;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
  margin: 20px auto;
  max-width: 40%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.alert:hover {
  transform: translateY(-2px);
  /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25); */
}

.alert.success {
  background: var(--verde);
  color: black;
}

.alert.neutro {
  background: white;
  border: black;
  color: black;
}


.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--verde);
  color: black;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 12px;
  max-width: 40%;
  font-size: 1rem;
  user-select: none;
}

.btn-pdf-resumen,
.btn-pdf-analisis {
  width: 220px;
  height: 50px;
  justify-content: center;
  background-color: var(--primary-main);
  transition: all 0.3s ease;
}

.btn-pdf-resumen:hover,
.btn-pdf-analisis:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.info-icon {
  cursor: help;
  margin-left: 0.5rem;
  color: #666;
  }

.info-icon:hover {
  color: #333;
  }



.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-main);
}

input:checked + .slider:before {
  transform: translateX(26px);
}



.widget-fuera {
  position: fixed;
  bottom: 20px;
  min-width: 100px;
  max-width: 25%;
  right: -30%;
  background: white;
  border-radius: 8px;
  padding: 12px 15px;
  align-items: center;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  border: var(--primary-main) solid 3px;
  z-index: 1000;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-fuera.visible {
  right: 20px;
}


details {
  border: 2px solid var(--primary-main);
  border-radius: 6px;
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}

details > summary {
  --borde: .35rem;
  cursor: pointer;
  padding: calc(1.4rem - var(--borde)) 2rem;
  position: relative;
  list-style: none;
  border-top: var(--primary-main) var(--borde) solid;

   & > div {
    justify-content: space-between;
    display: flex;
    align-items: center;

      & span {
      font-size: 1.25rem;
      font-weight: 600;
    }
   }


   & .bombilla {
     width: 2.5rem;
     height: 2.5rem;
     background: linear-gradient(135deg, var(--primary-main), var(--primary-light));
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
   }

   & .icono-abrir {
    color: var(--primary-main);

    &::after {
      display: block;
      font-size: 1.5rem;
      content: "⮝";
      /* transform: rotate(90deg); */
      transition: 1.5s ease all;
    }
  }
}

details[open] {
  & > summary .icono-abrir::after {
    /* content: "⮟"; */
    transform: rotate(-180deg);
  }
}

details > div {
   padding: 0 2rem;
   border-top: 2px solid var(--primary-main);

   & > p {
     margin: 1.5rem 0 2rem;
     text-align: justify;
     position: relative;
     padding: 0 1rem;
   }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
              0 10px 10px -5px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary-lighter);
}

.video-container:hover {
  box-shadow: 0 5px 25px -2px rgba(0, 0, 0, 0.2),
              0 10px 10px -2px rgba(0, 0, 0, 0.14);
}

.youtube-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}