@font-face {
  font-family: 'Roboto';
  src: url('/static/fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Aplicar a todos los elementos */
* {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Excepciones */
.title {
  font-family: "Crimson Pro", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

body {
    margin: 0;
    background-color: #ffffff;
}
  
.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #040714;
  position: fixed;
  height: 100%;
  overflow: auto;
  border-right: 1px solid #32E0C4;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  
.sidebar a {
  display: block;
  color: white;
  padding: 16px;
  text-decoration: none;
}
   
.sidebar a.active {
  background-color: #32E0C4;
  color: black;
  transition: color 0.2s;
}
  
.sidebar a:hover:not(.active) {
  background-color: #222831;
  color: white;
  transition: color 0.2s;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signout {
  margin-top: 1rem;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

div.content {
  margin-left: 200px;
  padding: 10px 30px;
  min-height: 100vh;
  padding: 40px;
}

.content h1 {
  display: flex;
  justify-content: center;
  align-items: center;
}
  
@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}
  
@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

.header-form {
  padding: 2rem;
  display: flex;
  justify-content: center;
  color:white;
}

footer {
  text-align: center;
  padding: 3px;
  background-color: #040714;
  color: white;
}

#signout{
  cursor: pointer;
}

ul.lista-tabla {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #222831;
}

ul.lista-tabla li {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 16px;
  border-bottom: 1px solid #222831;
}

ul.lista-tabla li.header {
  background-color: #32E0C4;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}

.campo {
  flex: 1;
  text-align: left;
  white-space: normal;            
  overflow-wrap: break-word;        
  word-break: break-word;          
}

@media (max-width: 480px) {
  ul.lista-tabla li {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
  }

  .campo {
    width: 100%;
    white-space: normal;
    padding: 4px 0;
  }
}

#footer-logo {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#footer-logo h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	width:100%;
	flex-direction: column;
}

#footer-logo img {
	margin-bottom: 1rem;
	width: 5%;
	height: auto;
}

@media (max-width: 480px) {
	#footer-logo img {
		width: 10% !important;
	}
}

.poppins-semibold{
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(main),
::view-transition-new(main) {
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

/* Viejo contenido se aleja, se desenfoca y se desvanece */
::view-transition-old(main) {
  animation-name: zoom-out-blur;
}

/* Nuevo contenido entra con zoom y nitidez */
::view-transition-new(main) {
  animation-name: zoom-in-clear;
}

@keyframes zoom-out-blur {
  from {
    transform: scale(1);
    opacity: 1;
    filter: blur(0px);
  }
  to {
    transform: scale(0.9);
    opacity: 0;
    filter: blur(10px);
  }
}

@keyframes zoom-in-clear {
  from {
    transform: scale(1.1);
    opacity: 0;
    filter: blur(10px);
  }
  to {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
  background-color: white;
  margin-bottom: 40px;
  margin-top: 0px;
  border-radius: 6px;
  border: 1px solid #222831;
}
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}

.input-gen {
  	padding: 8px; 
  	border: 1px solid #ccc; 
  	border-radius: 6px; 
  	font-size: 14px; 
  	box-sizing: border-box;
}

.button {
    border: none;
    color:  white;
    padding: 8px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}
  
.button1 {
    background-color: #222831; 
    color: white; 
    border: 1px solid #32E0C4;
    border-radius: 5px;
}
  
.button1:hover {
    background-color: #32E0C4;
    color: white;
}

.new_subs_form {
    background-color: #EEEEEE;
    width: 500px;
    border-radius: 8px;
    border: 1px solid #222831;
}

.head-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #32E0C4;
    padding: 30px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: white;
}

.body-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: white;
    border-radius: 7px;
}

.fs_newsub {
    border: none;
}

.form-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.titulo {
  margin-bottom: 50px;
}


.purchase-status {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #040714; 
    padding: 1rem;
}

.purchase-status-box {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.purchase-status-form{
	display: flex;
	flex-direction: column;
	gap: 1rem;

}

.purchase-status-box h3 {
    font-size: 0.95rem;
    font-weight: normal;
    color: #5f6368;
}

fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
	border: none;
    padding: 0;
}

input {
    width: 100%;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.help-text {
    font-size: 0.85rem;
    color: #5f6368;
    margin-bottom: 1rem;
}

.purchase-status-btn {
	background-color: #040714;
	color: white;
	width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
	transition: background-color 0.3s ease;
	cursor: pointer;
}

.purchase-status-btn:hover {
	background-color: #FF1A75;
	color: white;
}

.error-message {
  padding: 20px;
  background-color: #FF1A75;
  color: white;
  border-radius: 6px;
}

.video-text {
    color: #FF1A75;
}

.video-link {
    color: #0a2a66; 
    transition: color 0.2s ease;
}

.video-link:hover {
    color: #4a7dff;
}