
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Nunito:wght@300;400;500;700&display=swap');
@import "modal-reward.css";
@import "vars.css";
@import "menu.css";
@import "nav-breadcrumb.css";
@import "buttons.css";
@import "settings.css";


a.link-effect {
  background:
    linear-gradient(
      to right,
      rgba(100, 200, 200, 1),
      rgba(100, 200, 200, 1)
    ),
    linear-gradient(
      to right,
      rgba(255, 0, 0, 1),
      rgba(255, 0, 180, 1),
      rgba(0, 100, 200, 1)
    );
  background-size: 0% 2px, 0 2px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}

a.link-effect:hover {
  background-size: 0 2px, 100% 2px;
}


body{
    overflow-x: hidden;
    font-family: 'Nunito', sans-serif;
    padding-bottom: 3em;
}
.color-blue{
    color: #2196F3;
}
h1, h2, h3, h4, h5, h6{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.secondary-font{
    font-family: 'Nunito Sans', sans-serif;
}
p{
    color: var(--color-default-text);
}
.color-highlight{
    color: var(--color-highlight);
}
.title-default{
    color: var(--color-primary);
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.card-subject {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box; 
    position: relative;
    border-radius: 15px;
    border: 8px solid;
    transition: transform 0.3s;
    transition: opacity 0.3s;
    max-width: 300px;
}
.background-level-1{
    border-color: var(--color-level-1) !important;
}
.background-level-2{
    border-color: var(--color-level-2) !important;
}
.background-level-3{
    border-color: var(--color-level-3) !important;
}
.card-subject-thumb {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    background: #212121;
}

.card-subject-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    height: 250px;
}
.card-subject-name{
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 100%;
    text-align: center;
}

.card-subject-name-wrapper{
    background: var(--color-white);
    color: var(--color-level-1);
    display: inline-flex;
    padding: 14px 20px;
    width: 80%;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    box-shadow: 0px 11px 17px 0px #E3F3FF;
}
.background-level-1 .card-subject-name-wrapper{
    color: var(--color-level-1) !important;
}
.background-level-2 .card-subject-name-wrapper{
    color: var(--color-level-2) !important;
}
.background-level-3 .card-subject-name-wrapper{
    color: var(--color-level-3) !important;
}
.card-subject-name-wrapper h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Nunito', sans-serif;
}
.col-mb-card-subject{
    margin-bottom: 3em;
}

.category-resume{
    background: var(--background-grey-light);
    padding: 4em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}
.category-resume h4{
    font-size: 24px;
    font-weight: normal;
    color: var(--color-default-text);
    margin-bottom: 0;
}
.album-figure-reward{
    max-width: 250px;
    position: relative;
}
.thumb-reward{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.album-figure-reward .thumb-reward{
    max-width: 320px;
    border: 8px solid;
    border-radius: 20px;
}
.icon-check-reward{
    position: absolute;
    right: -12px;
    top: -15px;
}
footer{
    background: var(--color-blue-dark);
    padding: 15px 0;
}
footer ul{
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 35px;
}
footer ul li, footer ul li a{
    color: var(--color-white);
}
.btn-tts{
    border-radius: 42px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #F5871E;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 6px 12px 6px 7px;
    min-width: fit-content;
    justify-content: center;
    background: #FFFFFF;
    border:1px solid;
}
.btn-tts:hover{
    cursor: pointer;
}
.spoken-word {
    background-color: yellow;
}
.btn-tts.minify{
    padding: 0;
    margin-top: 5px;
    gap:0;
    min-width: auto;
    border:0;
}
.btn-tts.minify img{
    height: 24px;
    width: auto;
}
.btn-tts.minify span{
    display: none;
}

.level-card {
    background-image: url(../../img/icon-level.svg);
    background-size: 45px;
    background-repeat: no-repeat;
    background-color: #219ebcb3;
    position: absolute;
    width: 55px;
    height: 64px;
    border-radius: 4px 0 10px 0;
    background-position: 50% calc(50% + 7px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.level-card span{
    text-transform: uppercase;
    color: #FFF;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.level-card strong{
    text-transform: uppercase;
    color: #219EBC;
    font-weight: bold;
    font-size: 21px;
    position: absolute;
    left: 1px;
    right: 0;
    margin: 0 auto;
    text-align: center;
    top: 22px;
}
.level-card-bg-1{
    background-color: rgb(109 31 167 / 76%);
}
.level-card-bg-1 strong{
    color: var(--color-level-1);
}
.level-card-bg-2{
    background-color: rgb(205 114 12 / 76%);
}
.level-card-bg-2 strong{
    color: var(--color-level-2);
}
.level-card-bg-3{
    background-color: rgb(113 139 11 / 76%);
}
.level-card-bg-3 strong{
    color: var(--color-level-3);
}
.left-top-10{
    left: 30px;
    top: 10px;    
}
.card-subject-thumb:hover .level-card{
    opacity: 1;
}
.modal-backdrop {
  background-color: #000000;
  opacity: 0.8 !important;
}
#teacher-message{
    background: linear-gradient(rgb(7, 6, 36) -17.19%, rgba(7, 6, 36, 0) 111.4%), linear-gradient(86.97deg, rgba(255, 168, 0, 0.4) -0.67%, rgba(25, 187, 125, 0.4) 24.91%, rgba(0, 82, 204, 0.4) 48.82%, rgba(69, 164, 236, 0.4) 72.18%, rgba(184, 95, 255, 0.4) 88.31%), rgb(7, 6, 36);
    padding: 0.5em;
    display: flex;
    top: 0;
    width: 100%;
    color: #FFF;
    gap: 6px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
    animation: teacher-banner-pulse 3s ease-in-out infinite;
}

@keyframes teacher-banner-pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3); }
    50% { box-shadow: 0 6px 20px rgba(31, 41, 55, 0.5); }
}
.teacher-dashboard{
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: #FFF;
    margin-left: 0.75em;
    display: inline-flex;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(55, 65, 81, 0.3);
    transition: all 0.2s ease;
    border: 1px solid #4b5563;
}

.teacher-dashboard:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.4);
    color: #FFF;
    text-decoration: none;
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.mobile-teacher-warning-info {
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-teacher-warning-info i {
    font-size: 1.3em;
    color: #fbbf24;
    animation: teacher-icon-bounce 1.5s ease-in-out infinite;
}

.student-name-highlight {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    margin-left: 4px;
    animation: student-name-glow 2s ease-in-out infinite;
}

.teacher-name-highlight {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    margin-left: 4px;
    animation: teacher-name-glow 2s ease-in-out infinite;
}

@keyframes student-name-glow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    }
    50% {
        text-shadow: 0 0 16px rgba(251, 191, 36, 0.8);
    }
}

@keyframes teacher-name-glow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    }
    50% {
        text-shadow: 0 0 16px rgba(251, 191, 36, 0.8);
    }
}

@keyframes teacher-icon-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.mobile-teacher-warning-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: 2px solid #1e40af;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mobile-teacher-warning-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.mobile-teacher-warning-buttons .btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
    border: 2px solid #b91c1c !important;
    color: #ffffff;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

.mobile-teacher-warning-buttons .btn-danger:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
}


.mobile-teacher-warning-buttons .btn-danger {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border: 1px solid #9ca3af;
    font-weight: 600;
    font-size: 0.9em;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
    transition: all 0.2s ease;
}

.mobile-teacher-warning-buttons .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

/* ===== WIDGET FLUTUANTE ===== */
.teacher-view-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-width: 310px;
    font-size: 0.9em;
    border: 2px solid #374151;
    animation: widget-float 3s ease-in-out infinite;
}

@keyframes widget-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.teacher-view-widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
}

.teacher-view-widget-icon {
    color: #fbbf24;
    font-size: 1.2em;
    animation: widget-icon-pulse 2s ease-in-out infinite;
}

@keyframes widget-icon-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.teacher-view-widget-text {
    line-height: 1.4;
    margin-bottom: 10px;
}

.teacher-view-widget-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.teacher-view-widget-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.teacher-view-widget-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.teacher-view-widget-btn.secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.teacher-view-widget-btn.secondary:hover {
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.teacher-view-widget-btn.never-show {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    font-size: 0.75em;
    padding: 4px 8px;
}

.teacher-view-widget-btn.never-show:hover {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.widget-student-name {
    color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.widget-teacher-name {
    color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.teacher-view-widget-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.2em;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.teacher-view-widget-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .teacher-view-widget {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    /* Banner responsivo */
    #teacher-message {
        padding: 0.75em 0.5em;
        gap: 8px;
    }
    
    .mobile-teacher-warning-info {
        font-size: 0.8rem;
        gap: 6px;
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
        line-height: 1.5;
        width: 100%;
    }
    
    .mobile-teacher-warning-info i {
        font-size: 1.3em;
        flex-shrink: 0;
    }
    
    .mobile-teacher-warning-info strong {
        display: inline-block;
        margin-right: 4px;
    }
    
    .student-name-highlight,
    .teacher-name-highlight {
        font-size: 1em;
        display: inline-block;
        margin: 0 3px;
    }
    
    .wrapper-teacher-header-dashboard {
        flex-direction: column;
        gap: 0.75em;
        padding: 0;
        align-items: center;
    }
    
    .mobile-teacher-warning-buttons {
        display: flex;
        gap: 0.6em;
        justify-content: center;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 400px;
    }
    
    .mobile-teacher-warning-buttons .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        flex: 1;
        white-space: nowrap;
    }
    
    .mobile-teacher-warning-buttons .btn-primary,
    .mobile-teacher-warning-buttons .btn-danger {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    #teacher-message {
        padding: 0.6em 0.3em;
    }
    
    .mobile-teacher-warning-info {
        font-size: 0.7rem;
        line-height: 1.6;
        gap: 4px;
    }
    
    .mobile-teacher-warning-info strong {
        display: block;
        margin-bottom: 3px;
        font-size: 0.85em;
    }
    
    .student-name-highlight,
    .teacher-name-highlight {
        font-size: 0.95em;
    }
    
    .wrapper-teacher-header-dashboard {
        gap: 0.6em;
    }
    
    .mobile-teacher-warning-buttons {
        flex-direction: column;
        gap: 0.5em;
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-teacher-warning-buttons .btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        width: 100%;
    }
    
    .mobile-teacher-warning-buttons .btn-primary,
    .mobile-teacher-warning-buttons .btn-danger {
        font-size: 0.8rem;
        padding: 8px 12px;
        width: 100%;
    }
}

/* Modal customizada */
.teacher-view-modal .swal2-popup {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.teacher-view-modal .swal2-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.5em;
}

.teacher-view-modal .swal2-html-container {
    color: #374151;
    font-size: 1em;
}

.teacher-view-modal .swal2-html-container ul {
    margin: 15px 0;
}

.teacher-view-modal .swal2-html-container li {
    margin: 8px 0;
    color: #4b5563;
}

.teacher-view-modal .swal2-confirm {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.teacher-view-modal .swal2-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Modal melhorada - UI 1000% */
.teacher-view-modal-enhanced {
    border-radius: 24px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    background: white !important;
}

.teacher-view-modal-enhanced .swal2-popup {
    border-radius: 24px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    background: white !important;
    padding: 0 !important;
}

.teacher-view-modal-enhanced .swal2-title {
    padding: 24px 24px 0 24px !important;
    margin: 0 !important;
    border-bottom: none !important;
    color: transparent !important;
}

.teacher-view-modal-enhanced .swal2-html-container {
    padding: 0 24px 24px 24px !important;
    margin: 0 !important;
    color: #374151 !important;
    font-size: 1em !important;
}

.teacher-view-modal-enhanced .swal2-confirm {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.2s ease !important;
    margin: 0 24px 24px 24px !important;
    color: white !important;
}

.teacher-view-modal-enhanced .swal2-confirm:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4) !important;
    transform: translateY(-1px) !important;
}

.teacher-view-modal-enhanced .swal2-confirm:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.teacher-view-modal-enhanced .swal2-close {
    width: 32px !important;
    height: 32px !important;
    background: #f3f4f6 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    border: none !important;
    color: #6b7280 !important;
    font-size: 16px !important;
    top: 16px !important;
    right: 16px !important;
}

.teacher-view-modal-enhanced .swal2-close:hover {
    background: #e5e7eb !important;
    color: #374151 !important;
    transform: scale(1.05) !important;
}
.teacher-warning-no-student-logged{
    background-color: #FFF;
    padding: 2em;
    border-radius: 10px;
}
.teacher-warning-no-student-logged h3{
    color: #219ebc;
}
.teacher-warning-no-student-logged p{
    font-size: 20px;
    margin-top: 1em;
}
.two-buttons-or{
    display: flex;
    gap:15px;
    align-items: center;
    justify-content: center;
    padding: 0.5em 0;
}

.position-relative{
    position: relative;
}
.toggle-password{
    position: absolute;
    right: 35px;
    top: 52%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2em;
}
.password-progress{
    height: 5px;
    margin-top: 10px;
}

#teacher-login-student{
    background-color: #F0F9FF;
    padding: 3em 0;
    height: 100%;
}
.test-user-badge{
    background-color: #e1155b;
    position: absolute;
    top: -17px;
    padding: 4px 11px;
    color: #FFF;
    font-size: 13px !important;
    border-radius: 14px;
    right: 0;
}
.home-carrousel{
    position: relative;
    height: 50vh;
    background-color: #000;
    overflow: hidden;
}
.home-carrousel:before{
    content: '';
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 30%;
    bottom: 0;
    z-index: 2;
}
.before-gradient-level-1:before{
    background: linear-gradient(180deg, rgba(160, 62, 234, 0.00) 0%, #570991 100%);
}
.before-gradient-level-2:before{
    background: linear-gradient(180deg, rgba(160, 62, 234, 0.00) 0%, #c56800 100%);
}
.before-gradient-level-3:before{
    background: linear-gradient(180deg, rgba(160, 62, 234, 0.00) 0%, #607900 100%);
}
.home-carrousel:hover .before-gradient-level-1:before{
    background:#570991;
}
.home-carrousel h3{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    color: #FFF;
    padding-bottom: 1em;
    z-index: 3;
    text-shadow: 1px 3px 5px #0006;
     transition: .3s ease-in-out;
}
.home-carrousel-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.0);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.home-carrousel:hover .home-carrousel-img{
    transform: scale(1.2);
    opacity: 1;    
}
.home-carrousel:hover h3{
   font-size: 2em;
}

.hover05 figure img {
    margin-left: 0px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.hover05 figure:hover img {
    margin-left: 0;
}

#list-categories{
    background: #474747;
    overflow: hidden;
    position: relative;
}

.swiper-button-prev, .swiper-button-next{
    margin: 0;
    padding: 0;
    width: auto;
    background: none;
}    
.swiper-button-prev:after, .swiper-button-next:after{
    display: none;
}
.swiper-button-next-home{
    right: 0;
    top: 0;
    height: 100%;
    z-index: 1;
}
.swiper-button-prev-home{
    left: 0;
    top: 0;
    height: 100%;    
    z-index: 1;
}
.swiper-button-prev-home img, .swiper-button-next-home img{
    height: 100px;
}
.login-select p{
    font-size: 20px;
}
.form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-invalid {
    border-color: var(--bs-danger) !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}
.card-reward{
    max-width: 280px;
    height: 280px;
    display: flex;
}
.card-reward img{
    height: 100%;
}

#list-categories-inline{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    background-color: var(--color-primary-light);
}
.wrapper-btn-categories-home{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.wrapper-btn-categories-home .btn{
    color: #FFF;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrapper-btn-categories-home .btn:active,.wrapper-btn-categories-home .btn:focus{
    color: #FFF;
}
.wrapper-btn-categories-home .nav-aux-level-1:hover{
    background-color: var(--color-level-1-hover);
    color: #FFF;
}
.wrapper-btn-categories-home .nav-aux-level-2:hover{
    background-color: var(--color-level-2-hover);
    color: #FFF;
}
.wrapper-btn-categories-home .nav-aux-level-3:hover{
    background-color: var(--color-level-3-hover);
    color: #FFF;
}
.form-floating {
    position: relative;
}
.tool-tip-form-float {
    position: absolute;
    right: -5px;
    top: -10px;
    color: #580097;
    background: #FFF;
    border-radius: 50%;
}
.card-subject .btn-continue-article{
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    top:35%;
    opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;    
  gap:10px;
}
.icon-feedback{
    position: absolute;
    right: -20px;
    top: -22px;
}
.icon-feedback img{
    height: 35px;
}
.card-subject-thumb:hover .btn-continue-article {
  opacity: 1;
  visibility: visible;
  border:0;
}
.list-student-articles .card-subject{
    width: 100%;
}
.mobile-teacher-warning-buttons{
    gap:10px;
    display: flex;
}
.exit-article{
    text-decoration: none;
    color: inherit;
}
.wrapper-pre-article-card{
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}
.wrapper-pre-article-card .card-reward{
    margin: inherit;
}
.flex-pre-article-card-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
}
.swal2-title{
    font-size: 1.5em;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled{
    pointer-events: inherit;
}
.badge-img{
    width: 350px;
    height: 350px;
    margin-bottom: 0;
}
.frame-badge-modal{
    width: 100%;
    padding: 1em;
    max-width: 410px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0 auto;
}
.frame-badge-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    height: 218px;
    align-items: center;
    justify-content: center;    
}
.frame-badge-modal .frame-badge-wrapper{
    height: 350px;
}

.frame-badge-wrapper .frame {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.frame-badge-wrapper .image-below-frame {
    position: absolute;
    width: 100%;
    height: auto; 
    object-fit: cover;
    transform: scale(0.82) !important;
    transform-origin: center center;
}

.locked .rounded-circle, .greyscale{
  filter: grayscale(100%);
}
.locked{
    position: relative !important;
}
.locked:before{
    content: '';
    background: url(../../img/icon-lock.svg) no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
    background-size: 40px 40px;
    bottom: -12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 3;    
}
.wrapper-badges-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px; 
    border: 1px solid #E4E4E4;
    border-radius: 0 0 10px 10px;
    margin-bottom: 1.5em;
    padding: 1em;
}

.card-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 1em;
    position: relative;
}
.color-title{
    color: #219EBC;
}
.card-badge img {
    width: 100%; 
    max-width: 220px;
}
.frame-badge-wrapper-modal img{
    max-width: 280px !important;
    width: 100% !important;
}
.card-badge p{
    font-weight: bold;
    color: #4caf50;
    margin-top: 0.5em;
    font-size: 20px;
    height: 60px;
    text-align: center;
}
.date-earned{
    font-size: 12px;
    color: #555555 !important;
    display: block;
}
.logout-user{
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    color: #74AE41;
    border: 1px solid #74AE41;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.logout-user:hover{
    background-color: #74AE41;
    color: #FFF;   
}
.invisible-space, .invisible-comma{
    font-size: 0 !important;
}
.item-disabled{
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-disabled:after{
    content: '';
    background: url(../../img/icon-lock-item.svg);
    width: 67px;
    height: 90px;
    position: absolute;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
}
.item-disabled .home-carrousel-img{
    filter: grayscale(1);
    opacity: 0.3;
}
.item-disabled .home-carrousel-img{
    opacity: 0.3 !important;
}
.item-disabled .home-carrousel h3{
    opacity: 0.5;
}
.item-disabled .home-carrousel:before{
    background: none;
}
.item-disabled:hover:after {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-20deg); }
    50% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}
.btn-disabled{
    opacity: 0.3;
    cursor: not-allowed;
    background: #000;
}
.btn-disabled:hover{
    background: #000 !important;
}
.accordion-level-1{
    border-left: 4px solid var(--color-level-1);
}
.accordion-level-2{
    border-left: 4px solid var(--color-level-2);
}
.accordion-level-3{
    border-left: 4px solid var(--color-level-3);
}
.card-historic-attempts{
    background: #EAEAEA;
    padding: 1em;
    border-radius: 8px;
    margin-bottom: 1em;
}

.flex-accordion-header img{
    width: 55px;
    border: 3px solid #c8e7ee;
}
.flex-accordion-header{
    display: flex;
    width: 100%;
    align-items: center;
    gap:5px;
}
.flex-accordion-header .feedback{
    padding-right: 1em;
}
.card-white {
    border-radius: 8px;
    background: #FFF;
    box-shadow: 3px 4px 12px -8px #89C2E8;
    padding: 1.1em;
    position: relative;
}

.no-data-show{
    text-align: center;
}
.no-data-show h2{
    color: #555555;
}
.no-data-show p{
    font-size: 1.3em;
}
.no-data-show img{
    max-width: 400px;
}
.flex-card-wrapper{
    background-color: #EAEAEA;
    font-size: 18px;
    padding: 1em;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}
.flex-card-wrapper{
    font-size: 18px;
}
.word-list{
    font-size: 18px;
    background: #ffffff;
    padding: 1em;
    border-radius: 6px;
    border: 1px solid #EAEAEA;
}
.bg-custom-sucess{
    border: 1px solid #198754;
    border-radius: 16px;
    padding: 3px 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.bg-custom-danger{
    border: 1px solid #dc3545;
    border-radius: 16px;
    padding: 3px 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.flex-gap{
    display: flex;
    gap:17px;
    flex-wrap: wrap;
}
.tab-content {
    display: block;
    background: #FFF;
    border: 1px solid #dee2e6;
    padding: 10px;
    border-top: 0;
}
.feedback-navigation-icon{
    position: absolute;
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 30px;
}
.card-reward .feedback-navigation-icon{
    height: auto !important;
    top: -20px;
    right: -15px;
    margin: inherit;
    z-index: 2;
    left: auto;
}
.wrapper-feedback-icons-homepage{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}
.wrapper-feedback-icons-homepage img{
    height: 30px;
}
.wrapper-feedback-icons-card-right{
    position: absolute;
    z-index: 2;
    right: 0;
    height: 90px;
    width: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
    border-radius: 0 4px 0 7px;
    top: 0;
    bottom: 0;
    margin: 0 auto;
}
.wrapper-feedback-icons-card-right img{
    height: 30px;
}
.article-quiz-opacity{
    filter: grayscale(1);
    opacity: 0.3;
}

.badge-opactiy{
    opacity: 0.5 !important;
}
#offCanvasBadges .offcanvas-header {
    box-shadow: 1px 1px 13px 3px #CCC;
    z-index: 22;
}
.wrapper-badges-list-custom-home{
    border:0;
}
.wrapper-badges-list-custom-home .card-badge{
    border: 1px solid #EAEAEA;
    border-radius: 10px;
    padding: 5px;
}
.wrapper-badges-list-custom-home .card-badge p{
    height: auto;
}
.wrapper-badges-list-custom-home .card-badge.locked:before{
    bottom: 110px !important;
}
.swiper-slide {
    opacity: 0; 
    transition: opacity 0.5s ease-in-out;
}
.wrapper-offcanvas-badges{
    position: relative;
    margin-bottom: 1em;
}
.wrapper-offcanvas-badges .btn-close{
    position: absolute;
    right: 0;
    top: 12px;
    font-size: 22px;
    border: 2px solid #EAEAEA;
}
.card-badge-modal{
    overflow: hidden;
}
.card-badge-home .locked:before{
    bottom: 85px !important;
}
#modalFullScreenBadges .btn-close{
    border: 2px solid #e90000;
    font-size: 25px;
    opacity: 1;
}
.color-checked {
    position: relative;
}
.color-checked:before{
    content: '';
    background: url(../../img/icon-check-green.svg);
    background-size: 25px 25px;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -8px;
    right: -11px;
}    
.flex-interface {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1em;
    position: relative;    
}

.flex-interface.small {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.card-item{
    gap: 10px;
    flex-direction: column;
    text-align: center;
    border-radius: 8px;
    box-shadow: 3px 4px 12px -8px #89C2E8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    height: 100%;
    position: relative;
    transition: all 0.2s ease-in-out;
    transform: scale(0.95) !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), #ffffff);
    border-top: 3px solid #f2faff; 
}
.card-item:hover {
    transform: scale(1.0) !important;
}
.tool-tip-form-float-card {
    font-size: 26px !important;
    top: 5px;
    right: 12px;
    color: #3db4ff;
    position: absolute;
}

.card-item img {
    width: 130px;
    height: 130px;
}


.card-item-info h3{
    font-size: 2em;
    font-weight: bold;
    color: #74AE41;
    margin-bottom: 0;
}
.card-item-info p{
    color: #555555;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.2;
    margin-top: 8px;
}

#teacher-trial-counter{
    position: fixed;
    background: #100c00d6;
    left: 0;
    z-index: 2222;
    right: 0;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 1em;
    backdrop-filter: blur(4px);
    color: #FFF;
    font-size: 14px;
    max-width: max-content;
    margin: 0 auto;
    border-radius: 8px;
    width: auto;
    text-align: center;
}
#teacher-trial-counter a{
    background: #09ad7a;
    text-decoration: none;
    padding: 5px 1em;
    display: inline-block;
    border-radius: 7px;
    color: #FFF;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}
#teacher-trial-counter a:hover{
    background: #FFF;
    color: #555;
}
#panel-area{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef8ff;
    height: 100vh;
}
#section-warning{
    background: #f5fcff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#section-warning img{
    height: 85px;
    margin-bottom: 2em;
}
#section-warning h3{
    font-size: 2em;
    color: #2196F3;
}
#section-warning p{
    font-size: 20px;
}
.card-white-glass{
    border-radius: 8px;
    background: #ffffff94;
    box-shadow: 3px 4px 12px -8px #89C2E8;
    padding: 1em;
    position: relative;
    backdrop-filter: blur(6px);
}

.menu-notification {
    margin-top: 0.65rem;
    left: 90%;
}
.breadcrumb-item a{
    text-decoration: none;
}

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

.custom-breadcrumb .breadcrumb-item a::after {
  content: '';
  position: absolute;
  width: 100%; 
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease-in-out;
}

.custom-breadcrumb .breadcrumb-item a:hover::after {
  transform: scaleX(1); 
}

.coin-wrap {
  transform: perspective(400px);
  transform-style: preserve-3d;
  display: inline-block;
  padding: 1em;
  text-align: center;
}

.coin {
  position: relative;
  transform-style: preserve-3d;
  width: 100px;
  height: 100px;
  animation: coin 2s infinite linear;
  transform-origin: 50% 50%; /
}

.coin:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 38px;
  top: 0;
  width: 12px;
  transform: rotateY(-90deg);
  transform-origin: 100% 50%;
  background-color: #f57c00;
}
.coin__front, .coin__back {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffc107;
  background-color: #ff9800;
  width: 100%;
  height: 100%;
  font-size: 55.5555555556px;
  text-shadow: 1px 2px #f57c00, -1px 0 #fff;
  border-radius: 50%;
  top: 0;
  left: 0;  
}
.coin__front:before, .coin__back:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  transform: scale(0.8);
  box-shadow: -2px -4px #f57c00, 2px 4px #ffc107;
}
.coin__back {
  position: absolute;
  top: 0;
  transform: translateZ(-12px) rotateY(-180deg);
}
.coin__front-backface, .coin__back-backface {
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #f57c00;
}
.coin__front-backface {
  transform: translateZ(-1px);
}
.coin__back-backface {
  transform: translateZ(-11px);
}
.coin .letter-space{
    width: 100%;
    overflow: hidden;
    max-width: 75px;
    align-items: center;
    justify-content: center;
    display: flex;
}
@keyframes coin {
  to {
    transform: rotateY(-359deg);
  }
}

.wrapper-sidebar-scroll {
    scrollbar-width: thin;
    padding-bottom: 1.2em;
}

.wrapper-sidebar-scroll::-webkit-scrollbar {
    width: 8px; /* Largura da barra de rolagem no Chrome, Safari e Edge */
}

.wrapper-sidebar-scroll::-webkit-scrollbar-track {
    background: #f1f1f1; /* Cor do track da barra de rolagem */
}

.wrapper-sidebar-scroll::-webkit-scrollbar-thumb {
    background: #888; /* Cor do polegar da barra de rolagem */
    border-radius: 4px; /* Borda arredondada para o polegar */
}

.wrapper-sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: #555; /* Cor do polegar da barra de rolagem ao passar o mouse */
}

.student-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.student-card .card-body img {
    transition: transform 0.2s;
}

.student-card:hover .card-body img {
    transform: scale(1.1);
}

.student-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}
.card-student-text{
    font-size: 16px !important;
    padding: 0 10px !important;
    text-align: left;
}
.student-card .badge {
    font-size: 0.85rem;
}
.card-student-header{
    padding: 10px;
    background: linear-gradient(90deg, #c4f3dc 13%, #F8E996 122.99%);
}
.card-student-header img{
    border: 3px solid #FFF;
}
body.no-scroll {
    overflow: hidden !important; 
}

.pricing-marketing {
    background-color: #dbfbed;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #00ff89;
    border-radius: 5px;
    text-align: center;
}

.promo-label {
    display: block;
    font-weight: bold;
    color: #198754;
    font-size: 1.2em;
}
.pricing-marketing label{
    display: flex;
    align-items: self-start;
    justify-content: center;
    gap: 9px;
}

.promo-text {
    font-size: 1em;
    color: #5a5a5a;
    font-weight: bold;
}
#buyNachoBookPackage{
    width: 25px;
    height: 25px;
}
.original-price {
    text-decoration: line-through;
    font-size: 12px;
}
#savings{
    background: #FFF;
    padding: 10px;
    font-size: 13px;
    border-radius: 10px;
    margin-top: 1em;
}
.account-type{
    border: 1px solid #EAEAEA;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    border-radius: 10px;
    margin-bottom: 1em;;
}
.account-type img{
    width: 60px;
    height: auto;
    margin-bottom: 0 !important;
}
.current-class{
    background: #7e6cf6;
    color: #FFF;
    padding: 4px;
    border-radius: 5px;
    margin-top: 1em;
    font-size: 14px;
}

.checkbox-wrapper-custom {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
}

.checkbox-wrapper-custom input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-wrapper-custom .custom-checkbox {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid rgb(255 255 255 / 10%);
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: background 0.3s, border-color 0.3s;
}

.checkbox-wrapper-custom input[type="checkbox"]:checked + .custom-checkbox {
    background: #8f44fd;
    border-color: #8f44fd;
}

.checkbox-wrapper-custom .custom-checkbox svg {
    fill: none;
    stroke: #fff;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: stroke-dashoffset 0.3s ease;
    position: absolute;
    top: 6px;
    left: 4px;
    width: 12px;
    height: 12px;
    pointer-events: none;
}

.checkbox-wrapper-custom input[type="checkbox"]:checked + .custom-checkbox svg {
    stroke-dashoffset: 0;
}

.custom-checkbox{
    border:1px solid #797979 !important;
}
/* Classe específica para o container customizado */
.custom-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

.image-container .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.image-container:hover .main-img {
    opacity: 0;
}

.image-container:hover .hover-img {
    opacity: 1;
}
.modal-dialog.modal-custom {
    max-width: 90%;
    width: 90%;
}
.play-and-pause{
    display: flex;
    gap: 10px;
}
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.badge-pill-count{
    background: #dc362e;
    width: 25px;
    height: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    right: 5px;
    top: 7px;
    font-size: 12px;
    animation: btn-pulse-red 2s infinite;
    line-height: 1;
}
.badge-pill-count-neutral{
    background: #b6f7c4;
    width: 25px;
    height: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #384900;
    right: 5px;
    top: 7px;
    font-size: 12px;
    line-height: 1;
}
.badge-pill-count-zero{
background: linear-gradient(269deg, #ffffff, #dfdfdf) !important;
    color: #3b3b3b !important;
    width: 25px;
    height: 25px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    right: 5px;
    top: 7px;
    font-size: 12px;
    line-height: 1;    
}
.badge-pill-count-custom {
  background: #ffe08a; /* amarelo para diferenciar */
  width: 25px;
  height: 25px;
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a3b00;
  right: 35px;  /* recuo maior que a verde */
  top: 7px;
  font-size: 12px;
  line-height: 1;
}
/* Custom no canto direito */
#menu-wordlists .badge-pill-count-custom {
  background: #ffe08a;
  width: 25px;
  height: 25px;
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a3b00;
  right: 5px;   /* cola no canto */
  top: 7px;
  font-size: 12px;
  line-height: 1;
}

/* Assigned recuado para a esquerda */
#menu-wordlists .badge-pill-count-neutral {
  right: 35px; /* deslocado à esquerda */
}
  
.custom_tooltip {
  position: absolute;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  pointer-events: none;
  white-space: normal;       
  word-wrap: break-word;     
  max-width: 200px;         
  text-align: center;        
  opacity: 0;
  transition: opacity .15s ease;
  z-index: 10000;
}

.custom_tooltip.show {
  opacity: 1;
}
.custom_tooltip::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}
    
/*/ Small devices (landscape phones, 576px and up)/*/
@media (max-width: 767px){
    #teacher-trial-counter{
        display: none;
    }
    .nav-tabs li{
        width: 100%;
    }
    .nav-tabs li button{
        width: 100%;
        background: #0aa7d6 !important;
        margin-bottom: 8px !important;
        border-radius: 5px !important;
        color: #FFF !important;
    }
    #btn-bulk-students span{
        display: none;
    }
    #btn-add span, #btn-tutorial span{
        display: none;
    }
    .nav-tabs .nav-link.active{
        background: #2196f3 !important;
        color: #FFF;
    }
    .wrapper-sidebar-scroll {
        padding-bottom: 5em !important;
    }
    .teacher-wrapper-option{
        margin-bottom: 1em;
    }

    .teacher-nav-bar-left{
        padding: 0;
    }
    .wrapper-sidebar-scroll{
        padding: 10px;
        height: 100vh;
        overflow: auto;
    }
    .teacher-nav-logo{
        display: none;
    }
    .teacher-nav-bar-left a{
        padding: 6px 10px;
        font-size: 14px;
    }
    .teacher-nav-logo img{
        width: 125px;
    }

    #teacher-trial-counter{
        border-radius: 0;
        bottom: 0;
    }
    .teacher-nav-logo{
        padding: 10px;
    }
    .logout-user{
        min-width: 40px;
        min-height: 40px;
        width: 40px;
        height: 40px;        
        font-size: 20px;
        display: none;
    }    
    .avatar-wrapper-name-progress{
        display: none;
    }
    .frame-badge-modal{
        padding: 1.5em;
    }
    .frame-badge-modal .frame-badge-wrapper{
        height: 280px;
        max-width: 300px;
    }
    .btn-arrows, .btn-finish-reading{
        width: 100%;
    }
    .row-btn-arrows{
        gap:15px;
    }
    .congrats-resume.article-action-group-btn a span{
        font-size: 18px;
    }
    .article-action-group-btn{
        flex-direction: column;
    }
    .card-subject .btn-continue-article{
        opacity: 1 !important;
        visibility: visible !important; 
    }
    .wrapper-pre-article-card{
        flex-direction: column;
    }
    .category-resume h4 br{
        display: none;
    }
    .flex-pre-article-card-content{
        align-items: center;
        text-align: center;
        justify-content: center;        
    }
    .btn-speak{
        display: none;
    }
  /* Estilo base para a versão mobile */
    .wrapper-table-mobile {
        
    }

    .wrapper-table-mobile .table {
        display: inline-grid;
        width: 100%;
    }

    .wrapper-table-mobile thead {
        display: none; 
    }

    .wrapper-table-mobile tr {
        display: block;
        margin-bottom: 15px;
        background-color: #FFF;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #EAEAEA;
    }

    .wrapper-table-mobile td {
        width: 100%;
        display: block;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eaeaea;
        font-size: 16px;
        white-space: normal; 
        overflow-wrap: break-word; 
        word-break: break-all; 
    }

    .wrapper-table-mobile td:last-child {
        border-bottom: none;
    }

    /* Alinha o nome do aluno e o username */
    .wrapper-table-mobile td:first-child {
        font-weight: bold;
        font-size: 18px;
        color: #333;
        display: flex;
        gap: 7px;
    }

    .wrapper-table-mobile td:nth-child(2) {
        color: #777;
    }    
    .table-striped > tbody > tr:nth-of-type(odd) > *,
    .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: unset !important;
        color: unset !important;
        --bs-table-accent-bg: unset !important;
    }

    /* Estilo para os botões e badges */
    .wrapper-table-mobile .badge,
    .wrapper-table-mobile .btn {
        margin: 5px 0;
        max-width: 100%; 
        white-space: normal;
    }

    .wrapper-table-mobile .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 10px;
        border-radius: 5px;
    }

    .wrapper-table-mobile .badge {
        padding: 5px 10px;
        border-radius: 15px;
    }

    .wrapper-table-mobile td::before {
        content: attr(data-label) " "; 
        display: inline-block;
        font-weight: bold;
        color: #000;
        margin-right: 5px;
    }
    .no-before::before{
        display: none !important;
    }


    #teacher-login-student{
        padding: 0;
        padding-top: 1em;
    }
    .teacher-warning-no-student-logged p br{
        display: none;
    }
    .modal-xl .modal-dialog{
        max-width: 100%;
    }    
     .wrapper-teacher-header-dashboard{
        flex-direction: column;
        gap:10px !important;
     }
     .mobile-teacher-warning-buttons{
        display: flex;
        gap:10px;
     }
     .mobile-order-2{
        order:2;
     }

    .wrapper-avatar-header span{
        display: none;
    }
    .wrapper-avatar-header{
        min-width: auto;
        padding: 3px;
    }
    .avatar-img{
        width: 40px;
        height: 40px;
    }
    .wrapper-btn-categories-home{
        gap:10px;
    }
    .wrapper-btn-categories-home .btn{
        font-size: 18px;
    }
    .swiper-button-prev-home img, .swiper-button-next-home img{
        height: 65px;
    }
    .level-card{
        opacity: 1 !important;
    }    
    .wrapper-index-btns {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .wrapper-index-btns-level-1.wrapper-index-btns a{
        border-radius: 10px;
    }
}

/*/ Medium devices (tablets, 768px and up)/*/
@media (min-width: 768px) and (max-width: 991px){
    .btn-brown img{
        display: none;
    }
    .btn-brown{
        min-width: auto;
    }
    .card-subject .btn-continue-article{
        opacity: 1 !important;
        visibility: visible !important; 
    }    
    .home-carrousel{
        height: 50vh;
    }
    .modal-xl .modal-dialog{
        max-width: 80%;
    }    
    .primary-menu{
        display: none !important;
    }
    .container{
        max-width: 92%;
    }
    .wrapper-btn-categories-home .btn{
        font-size: 18px;
    }    
    #teacher-message{
        padding: 0.5em;
    }
    .category-resume{
        padding: 2em 1em;
    }
    .card-reward{
        max-width: 180px;
        height: 180px;        
    }
    .category-resume h4{
        padding: 1em 0 0 0;
        font-size: 20px;        
    }

    .btn-continue-article {
        opacity: 1 !important;
        visibility: visible !important;
        border: 0;
    }
    .level-card{
        opacity: 1 !important;
        visibility: visible !important;
    }
    .avatar-img{
        width: 35px;
        height: 35px;
    }
    .wrapper-avatar-header span{
        font-size: 16px;
    }
    .level-card{
        opacity: 1 !important;
    }    
  /* Estilo base para a versão mobile */
    .wrapper-table-mobile {
    }

    .wrapper-table-mobile .table {
        display: inline-grid;
        width: 100%;
    }

    .wrapper-table-mobile thead {
        display: none; 
    }

    .wrapper-table-mobile tr {
        display: block;
        margin-bottom: 15px;
        background-color: #FFF;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #EAEAEA;
    }


    .wrapper-table-mobile td {
        width: 100%;
        display: block;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eaeaea;
        font-size: 16px;
        max-width: 100%; 
        white-space: normal; 
        overflow-wrap: break-word; 
        word-break: break-all; 
    }

    .wrapper-table-mobile td:last-child {
        border-bottom: none;
    }

    /* Alinha o nome do aluno e o username */
    .wrapper-table-mobile td:first-child {
        font-weight: bold;
        font-size: 18px;
        color: #333;
        display: flex;
        gap: 7px;
    }

    .wrapper-table-mobile td:nth-child(2) {
        color: #777;
    }    
    .table-striped > tbody > tr:nth-of-type(odd) > *,
    .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: unset !important;
        color: unset !important;
        --bs-table-accent-bg: unset !important;
    }

    /* Estilo para os botões e badges */
    .wrapper-table-mobile .badge,
    .wrapper-table-mobile .btn {
        margin: 5px 0;
    }

    .wrapper-table-mobile .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 10px;
        border-radius: 5px;
    }

    .wrapper-table-mobile .badge {
        padding: 5px 10px;
        border-radius: 15px;
    }

    .wrapper-table-mobile td::before {
        content: attr(data-label) " "; 
        display: inline-block;
        font-weight: bold;
        color: #000;
        margin-right: 5px;
    }
    .no-before::before{
        display: none !important;
    }    
    .wrapper-index-btns a img{
        display: none;
    }
    .wrapper-index-btns a{
        padding: 8px 10px;
        font-size: 14px;
    }    
    .wrapper-index-btns{
        bottom: -12px;
    }
    #select-level .container{
        max-width: 100%;
    }
}

/*/Large devices (desktops, 992px and up)/*/
@media (min-width: 992px) and (max-width: 1199px) {

    .modal-lg{
        width: 95% !important;
    }    
    #teacher-message{
        padding: 0.5em;
    }    
    .card-reward{
        max-width: 220px;
        height: 220px;        
    }
    .category-resume h4{
        padding: 1em 0 0 0;
        font-size: 20px;        
    }    
    .level-card{
        opacity: 1 !important;
    }
    .wrapper-index-btns a{
        font-size: 14px;
    }
}

/*/ X-Large devices (large desktops, 1200px and up)/*/
@media (min-width: 1200px) and (max-width: 1399px){
    .wrapper-index-btns a{
        font-size: 16px;
    }
    .body{
        padding-left: 0 !important;
    }
    .panel-sidebar{
            transform: translateX(0px) !important; 
    }
}

/*/// XX-Large devices (larger desktops, 1400px and up)/*/
@media (min-width: 1400px) {
    .wrapper-index-btns a{
        font-size: 16px;
    }
    .body{
        padding-left: 0 !important;
    }    
    .panel-sidebar{
            transform: translateX(0px) !important; 
    }
}

/* CSS ULTRA ESPECÍFICO para o botão Apply - AZUL com border-radius específico */
#apply-coupon-btn {
  background: #3b82f6 !important;
  background-color: #3b82f6 !important;
  background-image: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #ffffff !important;
  border: 2px solid #3b82f6 !important;
  border-color: #3b82f6 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 8px 20px !important;
  border-radius: 0 6px 6px 0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important;
  min-width: 175px !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
}

#apply-coupon-btn:hover {
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3) !important;
  text-decoration: none !important;
}

#apply-coupon-btn:active {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  background-image: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important;
}

#apply-coupon-btn:focus {
  background: #3b82f6 !important;
  background-color: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
  outline: none !important;
}

#apply-coupon-btn:disabled {
  background: #9ca3af !important;
  background-color: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.6 !important;
}