/* 
Estilos para Login y Registro 
*/
#custom-login-form {
    width: 100% !important;
    border: none !important;
    padding: 0px 30px 0px 30px;
}

#custom-login-form button {
    background-color: #c75300;
    color: #fff;
    width: 100%;
}

#custom-login-form a {
    color: #c75300;
    text-decoration: underline;
    font-size: 0.8125rem;
}

#custom-login-form .lost_password {
    margin-bottom: 0px;
}

.custom-login-form-description {
    text-align: justify;
    font-weight: bold;
}
#custom-login-form h1 {
    margin-bottom: 1.8rem;
}

.link-registrarme {
    font-size: 0.8125rem;
    text-align: center;
}

.customer-login-container {
    margin: 0px auto;
    padding-top: 70px;
    max-width: 1024px;
    display: flex;
    flex-wrap: wrap;
}

.customer-lostpassword-container {
    margin: 0px auto;
    padding: 10px;
    max-width: 420px;
    display: flex;
    flex-wrap: wrap;
}

.customer-restpassword-container {
    margin: 0px auto;
    padding: 10px;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
}

#custom-register-form {
    display: none;
    border: none !important;
    margin: 0px;
    padding: 0px 20px 0px 20px;
}

#custom-register-form button {
    background-color: #c75300;
    color: #fff;
    width: 100%;
}

#custom-register-form a {
    color: #c75300;
    text-decoration: underline;
}

#custom-register-form .woocommerce-privacy-policy-text {
    display: none;
}

#login-breadcrumbs {
    margin: 0px auto;
    padding: 20px;
    max-width: 1440px;
    border-bottom: 1px solid #ddd;
    font-size: 0.8125rem;
    font-family: "Lato", Sans-serif;
    font-weight: 500;
}

#login-breadcrumbs .jet-breadcrumbs__item-sep {
    color: #ff6b00 !important;
}

.img-login {
    border-radius: 30px;
}

#custom-register-form h1 {
    margin-bottom: 1.8rem;
}

#volver-login {
    color: #c75300;
    text-decoration: underline;
    font-size: 0.8125rem;
}

.link-volver-login {
    text-align: center;
}

.col-50 {
    flex: 1 1 50%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}
@media (max-width: 768px) {
    .col-50 {
        flex: 1 1 100%;
    }
}
/* 
FIN: Login y Registro 
*/

.woocommerce-MyAccount-navigation {
    display: none;
}

.contenedor-principal {
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    margin: 1rem auto;
    padding: 2rem;
    background-color: #efedea;
    color: #333;
    font-family: sans-serif;
    border-radius: 40px;
}

.columna-izquierda {
    background-color: #efedea;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.nombre-usuario {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.texto-bienvenida {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    font-weight: bold;
    color: #c75300;
}

.titulo-donaciones {
    margin: 0.5rem 0 0 0;
    font-size: 1rem !important;
    font-weight: bold;
    color: #c75300;
}

.texto-descripcion {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.boton-cerrar-sesion {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: #c75300;
    border: none;
    color: #fff !important;
    text-decoration: none;
    border-radius: 20px;
}

.columna-derecha {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.encabezado {
    background-color: #fff;
    padding: 0px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.encabezado__imagen {
    width: 100%;
    height: auto;
    border-radius: 20px 0px 0px 20px;
    object-fit: cover;
}

.encabezado__apadrinamientos {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem;
    border-radius: 20px;
}

.encabezado__apadrinamientos h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.boton-acceder {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-top: 0.5rem auto;
    padding: 0.5rem 1rem;
    background-color: #c75300;
    color: #fff !important;
    text-decoration: none;
    border-radius: 20px;
}

.tarjetas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tarjeta {
    background-color: #fff;
    padding: 1rem;
    border-radius: 20px;
}

.tarjeta h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.tarjeta p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.boton-detalle {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-top: 0.5rem;
    padding: 0.1rem 1rem;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #333;
}

@media (min-width: 600px) {
    .contenedor-principal {
        flex-direction: row;
    }

    .columna-izquierda {
        flex: 0 0 30%;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .columna-derecha {
        flex: 1;
    }

    .encabezado {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .encabezado__imagen {
        max-width: 50% !important;
    }

    .encabezado__apadrinamientos {
        flex: 1;
        margin-left: 0px;
    }

    .tarjetas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    .tarjeta-donaciones {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .tarjeta-datos-personales {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .tarjeta-medios-pago {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

.woocommerce-MyAccount-content {
    display: block;
    float: none !important;
    width: 100% !important;
}

.tarjeta__titulo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.tarjeta__icono {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

#mis-donaciones {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

#mis-donaciones .woocommerce-orders-table,
#mis-donaciones .woocommerce-orders-table,
#mis-donaciones .account-payment-methods-table {
    background-color: #fff !important;
    border: 0px;
}

#mis-donaciones thead {
    border-radius: 20px !important;
}

#mis-donaciones th {
    background-color: #fff !important;
    border-bottom: 1px solid #000;
    font-size: 1rem;
}

#mis-donaciones td {
    background-color: #fff !important;
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-bottom: 1px dotted #333 !important;
}

#mis-donaciones .woocommerce-Price-amount {
    color: #c75300 !important;
    font-size: 1.1rem;
    font-weight: bold;
}

#mis-donaciones .woocommerce-pagination {
    text-align: right;
}

#mis-donaciones .woocommerce-button {
    padding: 10px;
    background-color: #c75300;
    border: none;
    color: #fff !important;
    border-radius: 20px;
}

.mis-donaciones-puntuales {
    padding: 20px;
}

.mis-donaciones-puntuales__contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.mis-donaciones-puntuales__icono-texto {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.mis-donaciones-puntuales__icono {
    width: 50px;
    margin-right: 10px;
}

.mis-donaciones-puntuales__titulo {
    padding-top: 1rem;
    font-size: 24px;
    margin: 0;
    line-height: 1;
}

.mis-donaciones-puntuales__boton-volver {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 1rem;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #333;
    white-space: nowrap;
    margin-top: 0;
}

@media (max-width: 768px) {
    .mis-donaciones-puntuales__contenedor {
        flex-direction: column;
        align-items: flex-start;
    }

    .mis-donaciones-puntuales__boton-volver {
        margin-top: 1rem;
    }

    #mis-donaciones .form-row-first {
        width: 100% !important;
        display: block !important;
    }

    #mis-donaciones .form-row-last {
        width: 100% !important;
        display: block !important;
    }
}

#mis-donaciones .woocommerce-MyAccount-subscriptions td {
    min-height: 65px;
}

.icons-titles {
    color: #ff6b00;
    font-size: 2.5rem;
}

#msg-error-form {
    color: #ff6b00;
    font-weight: bold;
    text-align: center;
    display: none;
}

#ayuda-informacion {
    background-color: #f7f6f4;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 1rem;
}
#ayuda-informacion a {
    color: #c75300;
    font-weight: bold;
}
#ayuda-informacion strong {
    color: #c75300;
}

#apadrinamientos a {
    color: #c75300;
    text-decoration: underline;
    font-weight: bold;
    font-size: 1rem;
}

/* Estilos generales para la miniatura */
.thumbnail {
    width: 150px;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(2);
}

/* Estilos para el botón */
.open-video-modal {
    padding: 10px 20px;
    background-color: #c75300;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.open-video-modal:hover {
    background-color: #c75300;
}

/* Modal (oculto por defecto) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

/* Contenido del modal */
.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #000;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

/* Ajuste del video */
.modal-content video {
    width: 100%;
    height: auto;
}

/* Botón de cierre */
.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: red;
}

/* Responsividad */
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
    .modal-content video {
        height: auto;
    }
}
