@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 */

body {
    margin: 0;
    background-color: #EAEAEA;
}
  
.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #040714;
  position: fixed;
  height: 100%;
  overflow: auto;
  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-anchor {
  margin-top: 1rem;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  cursor: pointer;
}

#sidebar-anchor {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  cursor: pointer;
}

.sidebar-span {
  display: inline-flex;
  gap: 10px;
}

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;
  }
}

/*logo->*/

.header-form {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 32px;
    color: white;
}

.header-form img {
    width: 72px;
    height: 57px;
}

.header-form span {
    font-size: 24px;
    font-weight: 700;
}

/*<-logo*/

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

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;
	}
}

@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: 40px;
}

.purchase-status-box {
    width: 100%;
    max-width: 500px;
    padding: 60px 40px;
    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;
}

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;
}

.purchase-title {
	margin-top: 0px;
	margin-bottom: 30px;
}

.purchase-description {
	font-size: 1rem;
	color:#FF1A75;
}

.purchase-text {
    color: #4A4E54;
    font-size: 0.85rem;
    line-height: 1.4;
}

.help-text {
    color: #4A4E54;
    font-size: 0.85rem;
	margin-bottom: 10px;
}

.purchase-link {
    color: #5800FF;
    text-decoration: none;
    font-weight: 650;
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.85rem;
}

.purchase-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.purchase-status-btn {
	font-size: 1rem;
	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;
}


/*link->*/

.video-ready {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #040714;
    padding: 40px;
}

.video-ready-box {
    width: 100%;
    max-width: 520px;
    padding: 45px 40px 30px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.video-ready-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.video-ready-logo img {
    width: 150px;
    max-width: 60%;
    height: auto;
}

.video-ready-box h2 {
    margin: 0 0 12px;
    color: #040714;
    font-weight: 600;
}

.video-ready-description {
    margin: 0 auto 22px;
    max-width: 420px;
    color: #4A4E54;
    font-size: 1rem;
    line-height: 1.5;
}


/* LINK */

.video-ready-link-box {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px;
    border: 1px solid #d9d9dd;
    border-radius: 9px;
    background: #f7f7f9;
    text-align: left;
}

.video-ready-link {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;

    color: #0a2a66;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: color 0.2s ease;
}

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


/* BOTÓN COPIAR */

.video-copy-button {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 7px;

    background: #040714;
    color: white;

    font-size: 1rem;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.video-copy-button:hover {
    background-color: #FF1A75;
    transform: translateY(-1px);
}

.video-copy-button:active {
    transform: scale(0.95);
}


/* MENSAJE COPIADO */

.video-copy-message {
    display: block;

    height: 18px;
    margin-top: 7px;

    color: #5800FF;
    font-size: 0.85rem;
    font-weight: 500;

    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-copy-message.show {
    opacity: 1;
}


/* FOOTER REDES */

.video-social-footer {
    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid #eeeeee;
}

.video-social-footer > span {
    display: block;
    margin-bottom: 12px;

    color: #777777;
    font-size: 0.85rem;
}

.video-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.video-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #040714;

    font-size: 1.25rem;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.video-social-links a:hover {
    color: #FF1A75;
    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 480px) {

    .video-ready-box {
        padding: 35px 22px 25px;
    }

    .video-ready-logo img {
        width: 130px;
    }

    .video-ready-description {
        font-size: 1rem;
    }

    .video-ready-link {
        font-size: 0.85rem;
    }

}

/*<-link*/
