/*
 * > General
*/

body {
    font-family: Inter;
    background-color: #f4f4f4;
    color: #000035 !important;
}

header {
    font-family: Inter;
    background: #ccff02;
    font-size: 13px;
    font-weight: 500;
    line-height: 16.8px;
}

.navbar {
    font-family: Inter;
    background: #ccff02;
    font-size: 13px;
    font-weight: 500;
    line-height: 16.8px;
}

.navbar-expand .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
}

.navbar-expand .navbar-nav .dropdown-menu {
    position: absolute;
}

header ul .dropdown-menu {
    font-size: 12px;
}

main {
    font-family: Inter;
}

footer {
    font-family: Inter;
    background: #000035;
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.link-dark {
    color: #000035 !important;
}

.link-dark:focus {
    color: #000035 !important;
}

.link-highlight1 {
    color: #ccff02 !important;
}

.link-hl2 {
    color: #F223E2 !important;
}

.link-disabled {
    color: #7a7a7a;
}

.link-disabled:hover {
    color: #7a7a7a;
}

.underline-5px {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.vr {
    background-color: #e5e5e5;
    opacity: 1;
}

hr {
    border-color: #e5e5e5;
    opacity: 1;
}

.text-disabled {
    color: #7a7a7a;
}

.card {
    border-color: #e5e5e5;
}

@media (min-width: 768px) {
    .card-body-large-padding {
        padding: 2rem !important;
    }
}

.card-border-default {
    border: solid 1px #e5e5e5 !important;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.card-disabled {
    background-color: #e5e5e5;
    color: #7a7a7a;
}


.card-border-hl2 {
    border: solid 1px #ff74f4 !important;
    border-radius: 6px;
}

.card-border-hl5 {
    border: solid 1px #52F184 !important;
    border-radius: 6px;
}

.card-border-disabled {
    border: solid 1px #e5e5e5 !important;
    border-radius: 6px;
}

.form-check {
    border: solid 1px #e5e5e5 !important;
}

.highlight1 {
    text-decoration: none;
    line-height: 1.2;
    /* Ajustar para controlar el espacio entre líneas */
    display: inline;
    background-image: linear-gradient(to bottom, transparent 70%, #ccff02 70%, #ccff02 90%, transparent 90%);
    background-repeat: no-repeat;
    background-size: 100% calc(100% + 5px);
    background-position: 0 100%;
    padding-bottom: 2px;
    /* Ajusta según la necesidad para controlar la distancia del subrayado al texto */
}

.highlight2 {
    text-decoration: none;
    line-height: 1.2;
    display: inline;
    background-image: linear-gradient(to bottom, transparent 70%, #f223e2 70%, #f223e2 90%, transparent 90%);
    background-repeat: no-repeat;
    background-size: 100% calc(100% + 5px);
    background-position: 0 100%;
    padding-bottom: 2px;
}

.highlight3 {
    text-decoration: none;
    line-height: 1.2;
    display: inline;
    background-image: linear-gradient(to bottom, transparent 70%, #00fee1 70%, #00fee1 90%, transparent 90%);
    background-repeat: no-repeat;
    background-size: 100% calc(100% + 5px);
    background-position: 0 100%;
    padding-bottom: 2px;
}

.highlight4 {
    text-decoration: none;
    line-height: 1.2;
    display: inline;
    background-image: linear-gradient(to bottom, transparent 70%, #e5e5e5 70%, #e5e5e5 90%, transparent 90%);
    background-repeat: no-repeat;
    background-size: 100% calc(100% + 5px);
    background-position: 0 100%;
    padding-bottom: 2px;
}

.highlight5 {
    text-decoration: none;
    line-height: 1.2;
    display: inline;
    background-image: linear-gradient(to bottom, transparent 70%, #52F184 70%, #52F184 90%, transparent 90%);
    background-repeat: no-repeat;
    background-size: 100% calc(100% + 5px);
    background-position: 0 100%;
    padding-bottom: 2px;
}

.elipse {
    background-color: #e5e5e5;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
}

.link-tab.active .elipse {
    background-color: #ccff02 !important;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
}

.link-tab:hover {
    color: #000035 !important;
}

.up-transition:hover {
    transform: translateY(-0.5rem);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

.nav-dropdown-mobile {
    background-color: white;
    z-index: 1060;
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 90%;
    position: absolute !important;
    top: 68px;
}

.backdrop {
    background-color: #000;
    position: fixed;
    top: 68px;
    left: 0;
    opacity: 0.5;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
}

.accordion-button::after {
    background-image: url("/img/icons/caret-down-fill-green.svg");
}

.accordion-button:not(.collapsed) {
    background: none;
}

@media (max-width: 767px) {
    .form-control-lg-mobile {
        min-height: calc(1.5em + 1rem + 2px);
        padding: 0.5rem 1rem;
    }

    .btn-lg-mobile {
        font-size: 1.25rem;
    }
}

[contenteditable]:empty:not(:focus):before {
    content: attr(data-placeholder);
    color: #969595;
    font-size: 13px;
    white-space: pre;
}

[contenteditable]:focus {
    outline: 0px solid transparent;
}

/*
 * > fonts
*/

.inter {
    font-family: Inter;
}

/*
 * > drawLine
*/

.drawLine {
    position: relative;
}

.drawLine:before {
    content: "";
    position: absolute;
    top: 50%;
    /* line position can be changed according to requirment either top:0, top:50% or bottom:0*/
    left: 50;
    width: 100%;
    height: 1px;
    background: #ccc;
}

.drawLine span {
    display: inline-block;
    background: #f4f4f4;
    position: relative;
    padding-right: 10px;
    /*space between text and line*/
}

.profileLine {
    position: relative;
}

.profileLine:before {
    content: "";
    position: absolute;
    top: 50%;
    /* line position can be changed according to requirment either top:0, top:50% or bottom:0*/
    left: 50;
    width: 100%;
    height: 1px;
    background: #C4C4C4;
}

.profileLine span {
    display: inline-block;
    background: white;
    position: relative;
    padding-right: 10px;
    /*space between text and line*/
}

/*
 * > highlighters
*/

.hl1 {
    color: #ccff02;
}

.hl2 {
    color: #F223E2;
}

.hl2:hover {
    color: #F223E2;
}

.hl3 {
    color: #00fee1;
}

/*
 * alerts
*/

.alert-success {
    color: #00db23;
    font-weight: 500;
    border: solid 1px #00db23;
    background-color: #e2ffeb;
}

.alert-warning {
    color: #f223e2;
    font-weight: 500;
    border: solid 1px #f223e2;
    background-color: rgba(255, 116, 244, 0.1);
}

.alert-danger {
    color: white;
    font-weight: 500;
    border: solid 1px #df0b0b;
    background-color: #df0b0b;
}

/* CakePHP Flash Message Styling */
.message.error { /* Apply alert-danger style to CakePHP error flash messages */
    color: white;
    font-weight: 500;
    border: solid 1px #df0b0b;
    background-color: #df0b0b;
    padding: 0.75rem 1.25rem; /* Standard alert padding */
    margin-bottom: 1rem;    /* Standard alert margin */
    border-radius: 0.25rem; /* Standard alert border-radius */
}

.message.success { /* Apply alert-success style to CakePHP success flash messages */
    color: #00db23;
    font-weight: 500;
    border: solid 1px #00db23;
    background-color: #e2ffeb;
    padding: 0.75rem 1.25rem; /* Standard alert padding */
    margin-bottom: 1rem;    /* Standard alert margin */
    border-radius: 0.25rem; /* Standard alert border-radius */
}

/*
 * > Buttons
*/

.btn {
    border: 0px;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.5rem 3.5rem;
    font-size: 16px;
}

.btn:active {
    background: #97bb05;
    color: #000035;
}

.btn-primary {
    background: #000035 !important;
    color: #ccff02 !important;
}


.btn-secondary {
    background: #000035;
    color: #ccff02;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000035;
}

.btn-tertiary {
    background: #ccff02;
    color: #000035;
}

.btn:active {
    background: #97bb05 !important;
    color: #000035 !important;
}

.btn-tertiary:hover {
    background: #ffffff;
    color: #000035;
}

.btn-inverted {
    background: #ccff02;
    color: #000035;
}

.btn-inverted:hover {
    background: #000035;
    color: #ccff02;
}

.btn-fourth {
    color: #000035;
    border: 1px solid #000035;
}

.btn-fourth:hover {
    background: #ffffff;
    color: #000035;
}

.btn-fifth {
    color: #000035;
    border: 1px solid #000035;
}

.btn-fifth:hover {
    background: #ccff02;
    color: #000035;
}

.btn-sixth {
    background: #F223E2;
    color: #ffffff;
}

.btn-sixth:hover {
    background: #ffffff;
    color:#000035;
}

.btn-next {
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    background-color: #CACCFD;
    color: #353572;
}

.btn-next:hover {
    border: 1px solid #E5E5E5;
    background-color: #E5E5E5;
    color: #353572;
}

.btn-disabled {
    color: #7a7a7a !important;
    background-color: #e5e5e5 !important;
    opacity: none !important;
    pointer-events: none;
}

.btn-disabled:hover {
    color: #7a7a7a;
    background-color: #e5e5e5;
}

.btn-white {
    color: #000035 !important;
    background-color: white;
    border: 1px solid #e5e5e5;
}

.btn-white:hover {
    color: #000035;
    background-color: #e5e5e5;
}

.btn-outline-danger {
    color: #df0b0b;
    border: 1px solid #df0b0b !important;
}

.btn-outline-danger:hover {
    background-color: #df0b0b !important;
    border: 1px solid #df0b0b !important;
}

.btn-interaction {
    color: #000035;
    font-family: "Inter";
    border: 1px solid #000035;
}

.btn-interaction:hover {
    color: white;
    background-color: #000035;
    border: 1px solid #000035;
}

.btn-check-purchase {
    border: 1px solid #ff74f4;
    border-radius: 6px;
}

.btn-check-purchase:active {
    background: #ff74f4 !important;
    color: white !important;
}

.btn-check-input + .btn:hover {
    border: 1px solid #ff74f4;
}

.btn-check-input:checked + .btn {
    background-color: #ff74f4 !important;
    color: white !important;
}

.btn-login-network {
    border: 1px solid #E5E5E5;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
}

.btn-login-network:hover {
    border: 1px solid #E5E5E5;
    background-color: #E5E5E5;
    border-radius: 6px;
}

.btn-return {
    font-weight: 500;
    color: #F223E2;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0.3em; /* Espacio entre el SVG y el texto */
}

.btn-return:hover {
    color: #ff74f4;
}

.btn-return:hover svg path{
    fill: #ff74f4;
}

.btn-return:hover::after { 
    background-color: #ff74f4;
}

.btn-return::after { 
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px; /* Grosor */
    background-color: #F223E2;
    width: 100%;
}

.btn-return-disabled {
    font-weight: 500;
    color: #7a7a7a;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0.3em; /* Espacio entre el SVG y el texto */
}

.btn-return-disabled:hover {
    color: #7a7a7a;
}

.btn-return-disabled::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px; /* Grosor */
    background-color: #7a7a7a;
    width: 100%;
}

.btn-return-disabled:hover::after {
    background-color: #7a7a7a;
}

/* Quitar borde inferior en header de modals login y registro */
#login .modal-header,
#registration .modal-header {
    border-bottom: none !important;
}

.accordion-button-available {
    background-color: #000035;
    color: white;
    border-radius: 6px;
}

.accordion-button-disabled {
    color: #969595;
    border: 0.5px dashed #969595;
    border-radius: 6px;
    border-color: #969595;
}

.accordion-button {
    border-radius: 6px !important;
}
.accordion-modules {
    align-items: start;
}

.accordion-modules:not(.collapsed) {
    box-shadow: none !important;
}

.accordion-modules:focus {
    box-shadow: none !important;
}

.accordion-modules::after {
    margin-top: 0.125em;
    background-image: url("/img/icons/caret-down-fill-pink.svg") !important;
}

.accordion-topics {
    align-items: start;
}

.accordion-topics:not(.collapsed) {
    box-shadow: none !important;
}

.accordion-topics:focus {
    box-shadow: none !important;
}

.accordion-topics::after {
    margin-top: 0.25em;
    background-image: url("/img/icons/caret-down-pink.svg") !important;
}


.accordion-item {
    border: none;
}

.accordion-button:after {
    order: -1;
    margin-left: 0;
    margin-right: 0.5em;
}

/*
 * > Headers
*/

h1 {
    font-family: "Syne";
    font-weight: 500;
    font-size: 3rem;
}

/* @media (max-width: 767px) {
    h1 {
        font-size: 38px;
    }
} */

h2 {
    /* font-family: "Syne"; */
    font-weight: 600 !important;
    font-size: 1.8rem;
}

h5 {
    font-size: 1.375rem;
}

/*
 * > Badges
*/

.badge-xbig {
    padding: 8px !important;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
}

.badge-big {
    padding: 4.4px !important;
    font-weight: 500;
    font-size: 10px;
    border-radius: 2px;
}

.badge-small {
    padding: 2px 3px !important;
    font-weight: 500;
    font-size: 7px;
    border-radius: 2px;
}

.bg-success {
    background-color: #26fe72 !important;
    color: #000035;
}

.bg-primary {
    background-color: #000035 !important;
    color: #ccff02;
    border: none;
}

.bg-secondary {
    background-color: #00fee1 !important;
    color: #000035;
}

.bg-tertiary {
    background-color: #ccff02 !important;
    color: #000035;
    border: none;
}

.bg-info {
    background-color: #c4c4c4 !important;
    color: white;
}

.bg-like {
    border: 2px #000035 solid;
    color: #000035;
}

.bg-liked {
    border: 2px #df0b0b solid;
    background-color: #df0b0b !important;
    color: white;
}

.bg-role {
    background-color: #000035 !important;
    color: #ccff02;
}

.bg-interactive {
    border: 1px #ff74f4 solid;
    color: #ff74f4;
}

.bg-new {
    border: 1px #ff74f4 solid;
    color: white;
    background-color: #ff74f4;
}

.bg-correct-answer {
    border: 1px #ff74f4 solid;
    color: white;
    background-color: #ff74f4;
}

.bg-exam-approved {
    font-weight: 500;
    font-size: 14px;
    background-color: #14DF54 !important;
    color: white;
}

.bg-exam-disapproved {
    font-weight: 500;
    font-size: 14px;
    background-color: #DF0B0B !important;
    color: white;
}

/*
 * > Styles
*/

.underline-primary {
    text-underline-offset: -3px;
    text-decoration-thickness: 6px;
    text-decoration-line: underline;
    text-decoration-color: #ccff02;
}

/*
 * > UI Elements
*/
/*
 * >> Curso/cbc/$MATERIA
*/

.accordion-video-available {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 13px;
    margin-top: 15px;
}

.accordion-video-disabled {
    border-color: #969595;
    border: 0.5px dashed #969595;
    color: #969595;
    border-radius: 6px;
    padding: 13px;
    margin-top: 15px;
}

.accordion-line {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    height: 30px;
    background-image: linear-gradient(0, black 0%, black 100%);
    border-radius: 5px;
}

.accordion-line::before {
    position: absolute;
    width: 24px;
    height: 24px;
    margin: -30px 0 0 -11px;
    background: #ccff02;
    border-radius: 50%;
    content: "";
}

.accordion-line::after {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -23px 0 0 -4px;
    background: white;
    border-radius: 50%;
    content: "";
}

.accordion-line-topic {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    height: 30px;
    background-image: linear-gradient(0, black 0%, black 100%);
    border-radius: 5px;
}

.accordion-line-topic::before {
    position: absolute;
    width: 24px;
    height: 24px;
    margin: -30px 0 0 -11px;
    border-radius: 50%;
    content: "";
}

.accordion-line-topic::after {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -23px 0 0 -4px;
    background: #000035;
    border-radius: 50%;
    content: "";
}

.accordion-line-checked {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    height: 30px;
    background-image: linear-gradient(0, #000035 0%, #000035 100%);
    border-radius: 5px;
}

.accordion-line-checked::before {
    position: absolute;
    width: 24px;
    height: 24px;
    margin: -30px 0 0 -11px;
    background: #ccff02;
    border-radius: 50%;
    content: "";
}

.accordion-line-checked::after {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -23px 0 0 -4px;
    background: #000035;
    border-radius: 50%;
    content: "";
}

.accordion-without-line {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    border-radius: 5px;
}

.accordion-without-line::before {
    position: absolute;
    width: 24px;
    height: 24px;
    margin: -30px 0 0 -11px;
    background: #ccff02;
    border-radius: 50%;
    content: "";
}

.accordion-without-line::after {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -23px 0 0 -4px;
    background: white;
    border-radius: 50%;
    content: "";
}

.accordion-dotted-line {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    height: 30px;
    background-image: url("/img/dotted-line.png");
    background-size: 2.5px;
    border-radius: 5px;
}

.accordion-line-disabled {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    height: 30px;
    background-image: linear-gradient(0, #969595 0%, #969595 100%);
    border-radius: 5px;
}

.accordion-line-disabled::before {
    position: absolute;
    width: 26px;
    height: 26px;
    margin: -30px 0 0 -12px;
    border: 1.2px solid #969595;
    border-radius: 50%;
    content: "";
}

.accordion-line-disabled::after {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -24px 0 0 -6px;
    background-image: url("/img/icons/lock.svg");
    content: "";
}

.accordion-without-line-disabled {
    position: absolute;
    width: 2px;
    margin-top: 44px;
    border-radius: 5px;
}

.accordion-without-line-disabled::before {
    position: absolute;
    width: 26px;
    height: 26px;
    margin: -30px 0 0 -12px;
    border: 1.2px solid #969595;
    border-radius: 50%;
    content: "";
}

.accordion-without-line-disabled::after {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -24px 0 0 -6px;
    background-image: url("/img/icons/lock.svg");
    content: "";
}

.accordion-video-completed {
    background: #f4f4f4;
}

.accordion-button-available::after {
    background-image: url("/img/icons/caret-down-fill-green.svg");
}

.accordion-button-available:not(.collapsed) {
    background: #ccff02;
    color: #000035;
}

.accordion-button-available:not(.collapsed):focus {
    border-color: #bce80e !important;
    box-shadow: 0 0 0 0.1rem #bce80e !important;
}

.accordion-button-disabled::after {
    background-image: url("/img/icons/caret-down-fill.svg");
}

.accordion-button-disabled:focus {
    border: solid 0.5px #cacaca !important;
    box-shadow: 0 0 0 0.05rem #cacaca !important;
}

.accordion-button-disabled:not(.collapsed) {
    background: #f4f4f4;
    color: #969595;
}
.accordion-button-disabled:not(.collapsed)::after {
    background-image: url("/img/icons/caret-down-fill.svg") !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("/img/icons/caret-down-fill-blue.svg");
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.1rem #bce80e;
}

.accordion-button-available:not(.collapsed):focus {
    box-shadow: 0 0 0 0.1rem #bce80e !important;
}

/*
 * >> Curso/video/$VIDEO_ID
*/

.right-accordion {
    font-family: Inter;
}

.right-accordion h6 {
    font-family: Inter;
    letter-spacing: 0px;
}

.right-accordion-header {
    cursor: pointer;
}

.right-accordion-header.collapsed {
    color: #969595;
}

.right-accordion-header::before {
    display: inline-block;
    flex-shrink: 0;
    width: 0.8rem;
    height: 0.8rem;
    margin-left: auto;
    content: "";
    background-image: url("/img/icons/caret-down-fill.svg");
    background-repeat: no-repeat;
    background-size: 0.8rem;
    transition: transform 0.2s ease-in-out;
}

.right-accordion-header:not(.collapsed)::before {
    background-image: url("/img/icons/caret-up-fill.svg");
}

.right-accordion-video {
    font-weight: 500;
}

.right-accordion-video-current {
    background: #ccff02;
}

.right-accordion-video-completed {
    color: #7a7a7a;
}

.full-width {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}

.rate {
    position: absolute;
    transform: rotateY(180deg);
    display: flex;
    background: white;
}
.rate input {
    opacity: 0;
    position: absolute;
}
.rate label {
    display: block;
    cursor: pointer;
    width: 30px;
}
.rate label:before {
    content: "★";
    position: relative;
    display: block;
    font-size: 30px;
    color: #e5e5e5;
}
.rate label:after {
    content: "★";
    position: absolute;
    display: block;
    font-size: 30px;
    color: #ccff02;
    top: 0;
    opacity: 0;
    transition: 0.6s;
}

.rate label:hover:after,
.rate label:hover ~ label:after,
.rate input:checked ~ label:after {
    opacity: 1;
}

.rate-calification {
    position: absolute;
    transform: rotateY(180deg);
    display: flex;
    background: white;
}
.rate-calification input {
    opacity: 0;
    position: absolute;
}
.rate-calification label {
    display: block;
    width: 19px;
}
.rate-calification label:before {
    content: "★";
    position: relative;
    display: block;
    font-size: 22px;
    color: #e5e5e5;
}
.rate-calification label:after {
    content: "★";
    position: absolute;
    display: block;
    font-size: 22px;
    color: #ccff02;
    top: 0;
    opacity: 0;
    transition: 0.6s;
}

.rate-calification input:checked ~ label:after {
    opacity: 1;
}

/*
 * >> Comments
*/

.bg-progress {
    background-color: #ccff02 !important;
}

/*
 * >> Others
*/

.video-js .vjs-tech {
    background-color: white;
}

.video-js.vjs-default-skin.vjs-ended .vjs-poster {
    display: block !important;
}

.progress {
    height: 0.5rem;
    background-color: white;
    position: relative;
}

.cross {
    color: #000035;
    padding: 0;
    background-color: transparent;
    border: 0;
}

/*
 * >> Price
*/

.price {
    font-size: 25px;
    font-weight: 600;
}

.price-disabled {
    font-size: 14px;
    color: #7a7a7a;
    text-decoration: line-through;
}

/*
 * >> Purchase Modal
*/

.radio_purchase {
    border: solid 1px #000035;
    padding-left: 2rem;
    border-radius: 6px;
}

.price_purchase {
    text-decoration: line-through;
    color: #c4c4c4;
    font-weight: 500;
    font-size: 14px;
}

.warning_purchase {
    border: solid 1px #ff74f4;
    border-radius: 6px;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1em !important;
}

/*
 * >> Notifications
*/

.unread_notification {
    background-color: #f223e2;
    display: block;
    height: 12px;
    width: 12px;
    border-radius: 50%;
}

.unread_notifications {
    background-color: #f223e2;
    color: white;
    height: 15px;
    font-size: 9px;
    font-weight: bold;
    width: 14px;
    position: absolute;
    left: 7px;
    border-radius: 50%;
}

.more-notifications {
    cursor: pointer;
    background: #ffffff;
    position: relative;
    bottom: 20px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
    border-radius: 200px;
}

.back-notifications {
    cursor: pointer;
    background: #ffffff;
    position: relative;
    top: 10px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
    border-radius: 200px;
}

/*
 * >> Programa
*/

.progress {
    background-color: #e5e5e5 !important;
}

.progress-success {
    background-color: #ccff02;
}

@media (max-width: 576px) {
    .order-xs-1 {
        -ms-flex-order: 1;
        order: 1;
    }
    .order-xs-2 {
        -ms-flex-order: 2;
        order: 2;
    }
    .order-xs-3 {
        -ms-flex-order: 3;
        order: 3;
    }
}

.link-topic:hover div {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-topic:hover div img {
    filter: opacity(10%);
}

.link-topic:hover div .progress {
    background-color: #e5e5e5 !important;
}

.link-topic:hover div .progress-success {
    background-color: #ccff02 !important;
}

.link-content:hover {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-flashcards:hover {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-cathedra:hover {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-exam:hover {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-exam:hover img {
    content: url('/img/icons/arrow-exam-hover.svg');
}

.link-item:hover div {
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-item:hover img.arrow {
    content: url('/img/icons/arrow-exam-hover.svg');
}
/*
 * >> Modulo
*/

.content-completed {
    color: #969595;
}

.completed-tag {
    background-color: #E5E5E5 !important;
    color: #7A7A7A;
}

.video-soon-tag {
    background-color: #ccff02 !important;
    color: #000035;
    border: none;
    padding: 0.3rem 0.5rem !important;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}

.empty-topic {
    color: #969595;
}

.empty-topic:hover {
    color: #969595;
}




/*
 * >> Quizzes
*/

.input-selection:checked ~ label {
    border: 1px solid #000035;
    border-radius: 10px;
}

.input-success {
    border: 1px solid #00e250;
    border-radius: 10px;
}

.input-error {
    border: 1px solid #df0b0b;
    border-radius: 10px;
}

/*
 * >> Countdown
*/

.timerSpan {
    display: block;
    font-size: 12px;
    color: #000035;
}

.timerDiv {
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    color: #04DC48;
    margin: -2px;
}

/*
 * >> Exams
*/

.custom-radio input[type="radio"] {
    width: 3%;
    height: 2em;
    top: 10px;
    position: relative;
}

.btn-outline-primary {
    border: 1px solid #000035 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000035 !important;
}

.btn-outline-interactive {
    border: 1px solid #f223e2;
}

.btn-outline-interactive:hover {
    color: #fff;
    background-color: #f223e2;
    border: 1px solid #f223e2;
}

.btn-outline-interactive.active {
    color: #fff;
    background-color: #f223e2;
    border: 1px solid #f223e2;
}

.btn-outline-success {
    color: #1ae159;
    border: 1px solid #1ae159;
}

.btn-outline-success:hover {
    color: #fff;
    background-color: #1ae159;
    border: 1px solid #1ae159;
}

.btn-outline-success.active {
    color: #fff;
    background-color: #1ae159;
    border: 1px solid #1ae159;
}

.btn-outline-regular {
    color: #ffca41 !important;
    background-color: transparent;
    background-image: none;
    border: 1px solid #ffca41 !important;
}

.btn-outline-regular:hover {
    color: #fff !important;
    background-color: #ffca41;
    border: 1px solid #ffca41;  
}

.btn-outline-regular.active {
    color: #fff !important;
    background-color: #ffca41;
    border: 1px solid #ffca41;
}

.btn-outline-danger {
    color: #df0b0b;
    border: 1px solid #df0b0b;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #df0b0b;
    border: 1px solid #df0b0b;
}

.btn-outline-danger.active {
    color: #fff;
    background-color: #df0b0b;
    border: 1px solid #df0b0b;
}

.btn-outline-exam {
    color: #000035;
    border: 1px solid #000035;
    font-size: 12px;
}

.btn-outline-exam:hover {
    color: #fff;
    background-color: #000035;
    border: 1px solid #000035;
}

.btn-outline-exam.active {
    color: #fff;
    background-color: #000035;
    border: 1px solid #000035;
}

/*
 * >> Headers Messages
*/

.header-warning {
    background-color: #f223e2;
    color: white;
    font-size: 13px;
}

.header-warning a {
    color: white;
}

.header-error {
    background-color: #df0b0b;
    color: white;
    font-size: 13px;
}

.header-error a {
    color: white;
    font-weight: 700;
}

/*
 * >> Carousel
*/

.carousel-inner {
    padding: 1em;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #e1e1e1;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .carousel-item {
        margin-right: 0;
        flex: 0 0 25%;
        display: block;
        translate: 0px;
    }
    .carousel-inner {
        display: flex;
    }
}
.card .img-wrapper {
    max-width: 100%;
    height: 13em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card img {
    max-height: 100%;
}

.card .disabled {
    background-color: #f4f4f4;
}

@media (max-width: 767px) {
    .carousel-item {
        width: 93%;
    }
    .card .img-wrapper {
        height: 17em;
    }
}

/*
 * >> Fix ratio videos
*/

.ratio > * {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*
 * >> Mejoras con Gon
*/

.form-control:focus {
    box-shadow: 0 0 0 0.25rem  rgba(242, 35, 226, 0.25) !important;
    border-color: #F223E2 !important;
}

a:-webkit-any-link:focus-visible {
    outline: none;
}

.syne {
    font-family: "Syne";
}

.link-course:hover div{
    background-color: #f8f8f8;
    border-radius: 6px;
}

.link-dark-pink:hover {
    color: #f223e2 !important;
}

.answer-practice {
    font-size: 14px;
    width: auto;
    display: inline-block;
    background-color: #f8f8f8;
}

.answer-practice img {
    opacity: 50%;
}

.switch-resolve:checked {
    background-color: #f223e2 !important;
    border-color: #f223e2 !important;
}

.switch-resolve:focus {
    border-color: #f223e2 !important;
    box-shadow: 0 0 0 0.25rem rgba(242, 35, 226, 0.25) !important;
}

.form-switch .switch-resolve:not(:checked):focus {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='%23f223e2'/></svg>") !important;
}

.watermark {
    position: relative;
    width: fit-content;                                                       
    background-image: url('/img/watermark.png');
    background-position: center top;
    background-repeat: repeat-y;
}

.characteristics-accordion .accordion-item {
    border: 1px solid #dcdfe6;
    /* Borde alrededor de todo el item */
    border-radius: 0.25rem;
    /* Redondeo de bordes del item */
    margin-bottom: 0.5rem;
    /* Espacio entre items del acordeón */
}

.characteristics-accordion .accordion-button {
    position: relative;
    /* Para posicionar el ícono de estado */
    background-color: #fff;
    /* Fondo blanco para el botón cerrado */
    color: #000035;
    /* Texto negro para el botón cerrado */
    border: none;
    /* Remover el borde del botón */
    padding-left: 2rem;
    /* Espacio para el texto dejando espacio para el ícono */
    box-shadow: none;
    /* Sin sombra para mantener el diseño plano */
    border-radius: 0.25rem 0.25rem 0 0;
    /* Redondeo solo en la parte superior */
}

.characteristics-accordion .accordion-body {
    color: #000035;
}

.characteristics-accordion .accordion-button:not(.collapsed) {
    /* Color de fondo para el botón abierto */
    color: #000035;
    /* Texto negro para el botón abierto */
    border-radius: 0.25rem 0.25rem 0 0;
    /* Redondeo solo en la parte superior cuando está abierto */
}

.characteristics-accordion .accordion-button::after {
    content: none;
    /* Eliminar el ícono por defecto */
}


.characteristics-accordion .accordion-collapse {
    border-top: none;
    /* Remover el borde superior del contenido desplegable */
}

/* Asegúrate de que el contenido desplegable no tenga bordes redondeados cuando esté abierto */
.characteristics-accordion .accordion-button.collapsed+.accordion-collapse .accordion-body {
    border-top: none;
}

.characteristics-accordion .accordion-body hr {
    margin: 0;
    /* Remover márgenes para que el <hr> se extienda completamente */
    border-top: 1px solid #dcdfe6;
    /* Color y estilo del borde que queremos para el <hr> */
}

.accordion-icon {
    transition: transform 0.2s ease;
    /* Transición suave para la rotación */
}

/* Rotar el ícono cuando el acordeón se expande */
.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
    /* Rotar 45 grados */
}

.mention {
    color: #000035;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

.mention:hover {
    color: #000035;
    text-decoration: none;
}

mention {
    color: #000035;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

.like-comment {
    cursor: pointer;
    transition: all 0.3s ease;
}

.liked-comment {
    cursor: pointer;
    content: url('/img/icons/liked.svg');
}


.like-comment:hover {
    content: url('/img/icons/like-hover.svg');
}

.correct-answer correct-answer{
    background-color: #E0F7E9;
    border-radius: 6px;
}

/* Special Likes Design - Modern Implementation */
.image-like-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    vertical-align: middle;
}

.image-like-container:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.1);
}

.image-like-container img.rounded-circle {
    display: block;
    width: 25px;
    height: 25px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.image-like-container:hover img.rounded-circle {
    border-color: #f223e2;
    box-shadow: 0 4px 16px rgba(242, 35, 226, 0.2);
}

.image-like-container .icon-heart-like {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartPulse 2s infinite;
    z-index: 3;
    background: white;
    padding: 1px;
    box-shadow: 0 2px 6px rgba(242, 35, 226, 0.3);
}

/* Heart pulse animation */
@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Special role badges for special likes */
.special-like-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: white;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.special-like-badge.admin {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.special-like-badge.professor {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.special-like-badge.admin-professor {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

/* Special likes container improvements */
.special-likes-container {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Tooltip improvements for special likes */
[data-bs-toggle="tooltip"] {
    z-index: 1000;
}

/* Animation for when special likes appear */
@keyframes specialLikeAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(10px);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.image-like-container {
    animation: specialLikeAppear 0.5s ease-out;
}

/* Stagger animation for multiple special likes */
.image-like-container:nth-child(1) { animation-delay: 0s; }
.image-like-container:nth-child(2) { animation-delay: 0.1s; }
.image-like-container:nth-child(3) { animation-delay: 0.2s; }
.image-like-container:nth-child(4) { animation-delay: 0.3s; }
.image-like-container:nth-child(5) { animation-delay: 0.4s; }

.icon-hint {
    transition: opacity 0.3s ease;
}

.hint:not(.collapsed) .icon-hint {
    content: url('/img/icons/eye-hint-show.svg');
}


.hint.collapsed .icon-hint {
    content: url('/img/icons/eye-hint-hide.svg');
}

/* 
 * > Quiz System Styles
 */

/* Quiz Progress Bar Styles */
.quiz-btn {
    width: 40px;
    height: 40px;
    margin: 2px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: relative;
    font-weight: 500;
    border: none;
    background-color: #e9ecef;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.quiz-btn.active {
    border: 2px solid #F223E2;
    box-shadow: 0 0 0 4px #f223e230;
}

.quiz-btn.active.unanswered {
    background-color: white;
}

.quiz-btn.active.next-unanswered {
    background-color: white;
}

.quiz-btn.correct {
    background-color: #28a745;
    color: white;
}

.quiz-btn.incorrect {
    background-color: #dc3545;
    color: white;
}

.quiz-btn.skipped {
    background-color: #ffc107;
    color: #000;
}

.quiz-btn.unanswered {
    background-color: #e9ecef;
    color: #000;
}

.quiz-btn.next-unanswered {
    background-color: #e9ecef;
    color: #000;
    border: 1px solid #007bff;
}

.quiz-btn.correct:hover,
.quiz-btn.incorrect:hover,
.quiz-btn.skipped:hover {
    opacity: 0.8;
}

/* Quiz Summary Card Styles for aprender.php */
.quiz-summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e0;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.quiz-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.quiz-summary-title {
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

.quiz-summary-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-summary-badge.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.quiz-summary-badge.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.quiz-summary-badge.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.quiz-summary-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.quiz-summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quiz-summary-number {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.quiz-summary-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Responsive design for quiz summary */
@media (max-width: 576px) {
    .quiz-summary-stats {
        gap: 12px;
    }
    
    .quiz-summary-number {
        font-size: 18px;
    }
    
    .quiz-summary-label {
        font-size: 10px;
    }
}

/* Modern Quiz Options Design */
.quiz-option {
    margin-bottom: 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quiz-option:hover:not(.correct):not(.incorrect):not(.show-correct):not(.review-mode) {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

/* Disable hover effects completely in review mode */
.quiz-option.review-mode {
    cursor: default;
}

.quiz-option.review-mode:hover {
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

.quiz-option.review-mode.correct:hover {
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15) !important;
    transform: none !important;
}

.quiz-option.review-mode.incorrect:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
    transform: none !important;
}

.quiz-option.review-mode.show-correct:hover {
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15) !important;
    transform: none !important;
}

.quiz-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.quiz-option label {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    margin: 0;
    width: 100%;
    min-height: 70px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.quiz-option input[type="radio"]:checked + label::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quiz-option input[type="radio"]:checked + label::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.quiz-option label::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quiz-option label::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-option-content {
    margin-left: 56px;
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
}

.quiz-option-letter {
    font-weight: 700;
    color: #3b82f6;
    margin-right: 12px;
    font-size: 17px;
}

.quiz-option-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
}

/* Review mode styles with modern design */
.quiz-option.correct {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.quiz-option.correct label::before {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.quiz-option.incorrect {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.quiz-option.incorrect label::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.quiz-option.show-correct {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.quiz-option.show-correct label::before {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Modern Confidence Section */
.confidence-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.confidence-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.confidence-btn {
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confidence-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.confidence-btn.low {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.confidence-btn.low:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.confidence-btn.medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.confidence-btn.medium:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.confidence-btn.high {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.confidence-btn.high:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Modern Skip Button Styles */
.skip-quiz-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 1px solid #f59e0b;
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.skip-quiz-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #d97706;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.skip-quiz-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* Modern Completion Section Styles */
.completion-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.completion-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.completion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.completion-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.completion-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.completion-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.completion-icon.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.completion-icon.continue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.completion-icon.empty {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.completion-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.completion-title.success {
    color: #059669;
}

.completion-title.warning {
    color: #d97706;
}

.completion-title.danger {
    color: #dc2626;
}

.completion-title.continue {
    color: #2563eb;
}

.completion-title.empty {
    color: #4b5563;
}

.completion-message {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Responsive design for quiz summary */
@media (max-width: 576px) {
    .quiz-summary-stats {
        gap: 12px;
    }
    
    .quiz-summary-number {
        font-size: 18px;
    }
    
    .quiz-summary-label {
        font-size: 10px;
    }
}

/* Modern Quiz Options Design */
.quiz-option {
    margin-bottom: 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quiz-option:hover:not(.correct):not(.incorrect):not(.show-correct):not(.review-mode) {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

/* Disable hover effects completely in review mode */
.quiz-option.review-mode {
    cursor: default;
}

.quiz-option.review-mode:hover {
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

.quiz-option.review-mode.correct:hover {
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15) !important;
    transform: none !important;
}

.quiz-option.review-mode.incorrect:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
    transform: none !important;
}

.quiz-option.review-mode.show-correct:hover {
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15) !important;
    transform: none !important;
}

.quiz-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.quiz-option label {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    margin: 0;
    width: 100%;
    min-height: 70px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.quiz-option input[type="radio"]:checked + label::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quiz-option input[type="radio"]:checked + label::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.quiz-option label::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quiz-option label::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-option-content {
    margin-left: 56px;
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
}

.quiz-option-letter {
    font-weight: 700;
    color: #3b82f6;
    margin-right: 12px;
    font-size: 17px;
}

.quiz-option-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
}

/* Review mode styles with modern design */
.quiz-option.correct {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.quiz-option.correct label::before {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.quiz-option.incorrect {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.quiz-option.incorrect label::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.quiz-option.show-correct {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.quiz-option.show-correct label::before {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Modern Confidence Section */
.confidence-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.confidence-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.confidence-btn {
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confidence-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.confidence-btn.low {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.confidence-btn.low:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.confidence-btn.medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.confidence-btn.medium:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.confidence-btn.high {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.confidence-btn.high:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Modern Skip Button Styles */
.skip-quiz-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 1px solid #f59e0b;
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.skip-quiz-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #d97706;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.skip-quiz-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* Modern Completion Section Styles */
.completion-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.completion-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.completion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.completion-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.completion-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.completion-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.completion-icon.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.completion-icon.continue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.completion-icon.empty {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.completion-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.completion-title.success {
    color: #059669;
}

.completion-title.warning {
    color: #d97706;
}

.completion-title.danger {
    color: #dc2626;
}

.completion-title.continue {
    color: #2563eb;
}

.completion-title.empty {
    color: #4b5563;
}

.completion-message {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.completion-stats.perfect .stat-number {
    color: #059669;
}

.completion-stats.excellent .stat-number {
    color: #059669;
}

.completion-stats.good .stat-number {
    color: #d97706;
}

.completion-stats.needs-improvement .stat-number {
    color: #dc2626;
}

.completion-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.completion-btn {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.completion-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.completion-btn.primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    color: white;
}

.completion-btn.secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.completion-btn.secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
    color: white;
}

.completion-btn.large {
    padding: 16px 32px;
    font-size: 18px;
    min-width: 200px;
}

.progress-summary {
    margin: 24px 0;
}

.progress-bar-container {
    position: relative;
    margin-bottom: 12px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Skip Quiz Modal Styles */
.skip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.skip-modal-container {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-modal-overlay.show .skip-modal-container {
    transform: scale(1) translateY(0);
}

.skip-modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.skip-modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid #fed7aa;
}

.skip-modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.skip-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #92400e;
}

.skip-modal-body {
    padding: 24px;
    text-align: center;
}

.skip-modal-body p {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
}

.skip-modal-subtitle {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin: 0 !important;
}

.skip-modal-footer {
    padding: 20px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    background: #f9fafb;
}

.skip-modal-btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
}

.skip-modal-btn:hover {
    transform: translateY(-1px);
}

.skip-modal-btn-cancel {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.skip-modal-btn-cancel:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.skip-modal-btn-confirm {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.skip-modal-btn-confirm:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .quiz-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
        margin: 2px;
    }

    .quiz-option {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .quiz-option label {
        padding: 16px 18px;
        min-height: 60px;
    }

    .quiz-option-content {
        margin-left: 48px;
        font-size: 15px;
    }

    .quiz-option-letter {
        font-size: 16px;
        margin-right: 10px;
    }

    .quiz-option label::before {
        width: 20px;
        height: 20px;
        left: 18px;
    }

    .quiz-option label::after {
        width: 10px;
        height: 10px;
        left: 23px;
    }

    .confidence-section {
        padding: 18px;
        margin-top: 12px;
    }

    .confidence-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .confidence-btn {
        min-width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .quiz-option-status {
        padding-left: 12px;
        font-size: 13px;
    }

    /* Completion Section Mobile */
    .completion-section {
        padding: 16px;
    }

    .completion-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .completion-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .completion-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .completion-message {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .completion-stats {
        gap: 16px;
        margin: 24px 0;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .completion-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .completion-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        min-width: auto;
    }

    .completion-btn.large {
        padding: 16px 24px;
        font-size: 16px;
    }

    /* Skip Modal Mobile */
    .skip-modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .skip-modal-header,
    .skip-modal-body {
        padding: 20px;
    }
    
    .skip-modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .skip-modal-btn {
        width: 100%;
    }
    
    .skip-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .skip-modal-title {
        font-size: 18px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .quiz-option label {
        padding: 14px 16px;
        min-height: 55px;
    }

    .quiz-option-content {
        margin-left: 44px;
        font-size: 14px;
    }

    .quiz-option label::before {
        width: 18px;
        height: 18px;
        left: 16px;
    }

    .quiz-option label::after {
        width: 8px;
        height: 8px;
        left: 21px;
    }

    .confidence-section {
        padding: 16px;
    }

    .confidence-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* 
 * > Content Display Page Styles (from display.php)
 * Mejoras sutiles inspiradas en interactivo.php
 */

/* Container improvements */
.container {
    max-width: 1200px;
}

/* Breadcrumbs mejorados */
.breadcrumb {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
}

/* Título del contenido mejorado */
h2 {
    color: #000035;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    /* padding-bottom: 15px; */
}

/* h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff00c7, #7c00ff);
    border-radius: 2px;
} */

/* Header de contenido mejorado */
.content-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #e3e7ff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Botones modernos */
.btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-outline-secondary {
    border: 1px solid #dee2e6;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-outline-secondary:hover {
    background: rgba(108, 117, 125, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.15);
    color: #495057;
    border-color: #adb5bd;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1ea085);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
    background: linear-gradient(135deg, #138496, #117a8b);
}

/* Área de contenido mejorada */
.content-display-area {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

/* Video container mejorado */
.ratio {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Alertas mejoradas */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Sección de descripción del video */
.hl2 {
    color: #000035;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Navegación de contenido mejorada */
.navigation-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.navigation-buttons .btn {
    flex: 0 0 auto;
    min-width: auto;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.navigation-buttons .btn .nav-icon {
    display: inline-block;
    margin: 0 4px;
    line-height: 1;
}

/* Notas adicionales */
.bg-light.border.rounded {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    border: 1px solid #2196f3 !important;
    border-radius: 12px !important;
    padding: 15px;
}

/* Watermark para contenido de texto */
.watermark {
    position: relative;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Efectos adicionales para interactividad */
.content-display-area:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}


/* ============================================
   CONTENT TYPE ICON STYLES - UNIFIED
   ============================================ */
.content-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-right: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Specific icon types - all using unified subtle style */
.content-type-icon.video {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-type-icon.texto,
.content-type-icon.text {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-type-icon.quiz {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-type-icon.ejercicio-parcial {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-type-icon.ejercicio-guia {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .btn {
        margin-bottom: 10px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .navigation-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .d-flex.justify-content-between {
        align-items: flex-start !important;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* 
 * > ExaBoti Integration Styles 
 */

/* Nav tabs styling */
.nav-tabs {
    border-bottom: none !important;
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 15px 15px 0 0;
    padding: 12px 20px;
    font-weight: 600;
    color: #6c757d;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-right: 5px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-bottom: 3px solid #fff !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* .tab-content {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
} */

/* ExaBoti specific tabs */
.exaboti-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.exacomunidad-tab.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

/* Chat styles */
.chat-message {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 12px;
    max-width: 80%;
}

.chat-message.user {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    margin-left: auto;
    text-align: right;
}

.chat-message.bot {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border: 1px solid #dee2e6;
}

.chat-input {
    min-height: 100px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    padding: 15px;
    resize: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.chat-input[contenteditable]:empty:before {
    content: attr(data-placeholder);
    color: #6c757d;
    font-style: italic;
}

/* Comments styles */
.comment-item {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #e3e7ff !important;
}

.response-item {
    background: linear-gradient(135deg, #fafbff 0%, #f0f2ff 100%);
    border-left: 3px solid #000035 !important;
    margin-top: 10px;
    border-radius: 8px;
}

.comment-text, .response-text {
    line-height: 1.6;
    color: #343a40;
}

.badge {
    font-size: 0.7rem;
    padding: 4px 8px;
}

/* Comentarios responsive solo para móvil */
@media (max-width: 576px) {
    .comment-item, .response-item {
        overflow-x: hidden;
        word-wrap: break-word;
        margin-right: 0 !important;
        max-width: 100%;
        padding: 12px !important;
    }
    
    /* Simplificamos el layout de comentarios para móvil */
    .comment-item .d-flex.align-items-start {
        display: block !important;
    }
    
    .response-item .d-flex.align-items-start {
        display: block !important;
    }
    
    /* Ocultamos el avatar principal en móvil - ya aparece en el header */
    .comment-item .d-flex.align-items-start > img.rounded-circle {
        display: none !important;
    }
    
    .response-item .d-flex.align-items-start > img.rounded-circle {
        display: none !important;
    }
    
    /* Avatar en el header se mantiene */
    .comment-item .d-flex.align-items-center,
    .response-item .d-flex.align-items-center {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px;
        margin-bottom: 12px;
        width: 100%;
    }
    
    /* Contenido sin márgen izquierdo */
    .comment-item .flex-grow-1,
    .response-item .flex-grow-1 {
        margin-left: 0 !important;
        width: 100%;
    }
    
    /* Texto del comentario */
    .comment-text, .response-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        font-size: 14px;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Botones de acción */
    .comment-item .d-flex.align-items-center.mt-3,
    .response-item .d-flex.align-items-center.mt-3 {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px !important;
    }
    
    /* Respuestas mantienen pequeña indentación */
    .responses {
        margin-left: 16px !important;
    }
    
    /* Tamaños de avatares en móvil */
    .comment-item .d-flex.align-items-center img.rounded-circle {
        width: 32px !important;
        height: 32px !important;
    }
    
    .response-item .d-flex.align-items-center img.rounded-circle {
        width: 28px !important;
        height: 28px !important;
    }
    
    /* Alineación mejorada para special likes en móvil */
    .image-like-container {
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: middle !important;
        margin: 0 4px !important;
    }
    
    .image-like-container img.rounded-circle {
        width: 20px !important;
        height: 20px !important;
    }
    
    .image-like-container .icon-heart-like {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ============================================
   BREADCRUMB STYLES
   ============================================ */
/* Personalizar color de los links del breadcrumb */
.breadcrumb-item a {
    color: #F223E2 !important;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #d01e99 !important;
    text-decoration: underline;
}

/* Estilos para el botón de editar contexto IA */
.btn-outline-primary.btn-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.btn-outline-primary.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

/* Estilos para el modal de contexto del prompt */
#editPromptContextModal .modal-dialog {
    max-width: 800px;
}

#editPromptContextModal textarea {
    resize: vertical;
    min-height: 200px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

#editPromptContextModal .form-text {
    font-size: 0.85rem;
    color: #6c757d;
}

#editPromptContextModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#editPromptContextModal .modal-title {
    color: #495057;
    font-weight: 600;
}