.custom-sidebar {
    height: 100vh;
    
    position: fixed;
    z-index: 999;
    width: 100%;
    right: 0;
    display: none;
    align-items: center;
    flex-direction: column;
}

.lock {
    overflow: hidden
}

.navbar-burger {
    color: var(--primary-color) !important;
}

.navbar-burger:hover {
    background-color: #71829325 !important;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-contacts-auto-fill-button {
    display: none;
}

/* Hide it in Firefox */
input[type="password"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.custom-card-width {
    min-width: 35%;
}

.button.GreyBtn {
    background-color: #444f5a;
    color: white;

    @include mixins.until($mobile) {
        background-color: orange;
    }
}
.button.GreyBtn:hover {
    background-color: #646b72;
}

.button.is-red {
    background-color: red;
    color: white;
}

/* Disable hover effect on specific navbar items */
.navbar-item.no-hover:hover {
    background-color: transparent !important;
    color: inherit !important;
}

/*-----------------------*/

.column{
    /*cursor:pointer;*/
}
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor:pointer;
}

.product-card.small-card {
    width: 85%;
}

.column.unavailable-card {
    filter: grayscale(80%);
    opacity: 0.6;
    pointer-events: none;
}

.product-image {
    position: relative;
    padding-top: 75%;
    /* Relación de aspecto 4:3 */
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-price {
    font-weight: bold;
    color: #4a4a4a;
    font-size: 1.2rem;
}

.product-actions {
    margin-top: auto;
}

.button.is-primary {
    background-color: #444f5a;
    border-color: transparent;
    color: #fff;
}

.button.is-primary:hover {
    background-color: #5a6877;
    border-color: #444f5a;
    color: #fff;
}

.button.is-info.is-outlined {
    background-color: #e6e6e6;
    border-color: #444f5a;
    color: #444f5a;
}

.button.is-info.is-outlined:hover {
    background-color: #718293;
    color: #fff;
}

/*--------------------------*/
#cardText {
    color: #2e353d;
}

.erro {
    color: red;
    font-size: small;
}

.ProfileImg {
    display: flex;
    justify-content: center;
}

.breadcrumb span {
    color: #363636;
}

/* ----------------------- */
body {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    min-height: 100vh;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("img/01ISEPacademylogo.png");
    background-repeat: no-repeat;
    background-position: center; /* Centraliza a imagem */
}

.about-section {
    background: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.about-content {
    position: relative;
    z-index: 2;
}

.stats-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
}

.stats-numberr {
    font-size: 2.5rem;
    font-weight: bold;
    color: #363636;
    margin-bottom: 0.5rem;
}

.feature-card,
.course-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.feature-card:hover,
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.course-card {
    display: flex;
    flex-direction: column;
}

.course-card .card-content {
    flex-grow: 1;
}

.course-card .price-tag {
    font-size: 1.8rem;
    margin: 1rem 0;
}

.course-card .button {
    align-self: center;
    width: 100%;
}

.course-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #363636, #4a4a4a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-section {
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(238, 238, 238, 0.5);
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem 0;
}

.price-tag {
    font-size: 2.5rem;
    color: #363636;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.enroll-button {
    background: linear-gradient(45deg, #4a4a4a, #363636);
    color: white;
    font-weight: bold;
    padding: 1.5rem 3rem;
    border-radius: 8px;
    border: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.enroll-button:hover {
    background: linear-gradient(45deg, #363636, #4a4a4a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

:root {
    --primary-color: #444f5a;
    --secondary-color: #f14668;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

.card {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    background-color: var(--primary-color) !important; 
    color: white;
}

.card-header-title {
    color: white !important;
    font-size: 1.2rem !important;
}

.module-card {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.module-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.module-details {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
}

.input,
.select select,
.textarea,
.file-cta {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
}

.label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.is-invalid {
    border-color: var(--secondary-color) !important;
}

.current-image {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.custom-footer-bulma {
    background-color: #444f5a !important; /* Cor do footer alterada */
    margin-top: 15%;
}

/* Boxes escuras com hover */
.custom-footer-bulma .footer-box {
    background-color: #2e353d !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.custom-footer-bulma .footer-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Efeito nos botões de redes sociais */
.custom-footer-bulma .button.is-outlined:hover {
    background-color: #444f5a !important;
    color: white !important;
    border-color: white !important;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .custom-footer-bulma {
        padding: 2rem 1rem;
        margin-top: 4rem;
    }
    
    .custom-footer-bulma .column.is-4 {
        margin-bottom: 1.5rem;
    }
    body {
        font-size: 14px;
    }

    .container {
        padding: 0.5rem;
    }

    .input,
    .select select,
    .textarea,
    .file-cta {
        font-size: 0.9rem;
    }
}

.checkbox {
    padding-left: 30px;
}

.checkbox input {
    display: none;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
}

.checkbox input:checked + .checkmark {
    background-color: #718293;
    border-color: var(--primary-color);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox input:checked + .checkmark::after {
    display: block;
}

.media-content.blog{
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
}

.media-content.blog :is(h3, p){
    color: white;
    margin-bottom: 10px;
    margin-top: 10px !important;

}

.container.blog{
    border: 1px solid #718293;
    background-color: #718293;
    border-radius: 5px;
    padding: 25px;
}
.scroll{
    overflow-x: hidden; /* Hide horizontal scrollbar */
    overflow-y: scroll;
    height: 750px;
    padding: 25px;
    
}

.modal-card-head{
    background-color: var(--primary-color) !important;
    color: white;
}
.modal-card-head p{
    color: white;
}


div::-webkit-scrollbar {
    width: var(--sb-size);
}

div::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}

div::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
    scroll {
        scrollbar-color: var(--sb-thumb-color)
                    var(--sb-track-color);
    }
}

.module-details {
    margin-bottom: 1rem;
}

.module-details summary {
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.module-details summary:hover {
    background-color: #e8e8e8;
}

.module-details summary::-webkit-details-marker {
    display: none;
}

.module-details summary::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
}

.module-details[open] summary::after {
    content: "\f077";  /* Código de FontAwesome para chevron-up */
}

.module-details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


.module-content {
    padding: 1rem;
    border: 1px solid #f5f5f5;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.profile-card {
    position: relative;
}

.profile-pen-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.profile-pen-icon:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: rotate(360deg);
}

.menu-list li a {
    background-color: transparent;
}

.menu-list li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lista{
    margin: 2% 5%;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    margin-right: 5px;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: #ffb400;
}

.stars-display .fa-star {
    color: #ddd;
}

.stars-display .has-text-warning {
    color: #ffb400 !important;
}

.dropdown-checkbox-item {
    padding: 0.5rem 1rem;
}
  
.dropdown-checkbox-item:hover {
    background-color: #f5f5f5;
}

/* Certificar que o dropdown fica sobre outros elementos */
.dropdown.is-active .dropdown-menu {
    display: block;
    z-index: 100;
}

/* Estilo para cards filtrados */
.column[style*="display: none"] {
    transition: opacity 0.3s;
} 

.spacing{
    height: 140px;
}

.modal-card.pdf{
    width: 70%;
    height: 90%;
}

.Framepdf{
    width: -webkit-fill-available;
    height: -webkit-fill-available;
}

.field.pdf{
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}




  /*Metricas Style*/
  .dashboard-section {
    padding: 2rem 1.5rem;
  }
  
  .stats-card {
    height: 100%;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
  }

  .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
  }
  
  .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  .stats-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    word-break: break-word;
  }
  
  .stats-label {
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .card-users::before { background: linear-gradient(90deg, #718293, #5a6877); }
  .card-bestseller::before { background: linear-gradient(90deg, #718293, #5a6877); }
  .card-incomplete::before { background: linear-gradient(90deg, #718293, #5a6877); }
  .card-least::before { background: linear-gradient(90deg, #718293, #5a6877); }
  .card-certs::before { background: linear-gradient(90deg, #718293, #5a6877); }
  .card-courses::before { background: linear-gradient(90deg, #718293, #5a6877); }

  .pagamento{
    height: fit-content;
  }

  .button.ghost{
    background: var(--bulma-button-ghost-background);
    border-color: var(--bulma-button-ghost-border-color);
    box-shadow: none;
  }