/* Modal popup styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1100;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}
.modal-overlay.closing {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
}
.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-overlay.closing .modal-content {
    transform: scale(0.9);
}
.modal-close {
    width: max-content;
    position: sticky;
    align-self: flex-end;
    top: 0;
    right: 0;
    background: #cc0000;
    color: white;
    border: none;
    padding: 0 .5rem 0 .5rem;
    line-height: 2.5rem;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    float: right;
    border-radius: 0 .5rem 0 .5rem;
}
.modal-close:hover {
    background: #990000;
}

/* Botão de informação com ícone */
.btn-info-icon {
    background: transparent;
    border: none;
    color: #007bff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
    vertical-align: middle;
}

.btn-info-icon:hover {
    color: #0056b3;
}

.btn-info-icon i {
    display: inline-block;
}
.cards-container{
    margin: 10rem 0 10rem 0;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    overflow: hidden;
}
.cards-container .card{
    width: 300px;
    min-height: 450px;
    margin: 2rem 0 2rem 0;
}
.cards-container .card:hover{
    box-shadow: -1rem 1.5rem .5rem lightblue;
    transition: all 0.3s ease;
    transform: translateY(-.5rem);
}
.card-one, .module{
    border-color: blueviolet;
}
.card-two{
    border-color: greenyellow;
}
.card-three{
    border-color: red;
}
.card-ear{
    align-self: flex-end;
    border-right: #ffffff 50px solid;
    top: 0;
    right: 0;
    margin: -3px -3px 0 0;
    border-radius: 5px;
}
.card-one .card-ear, .module .card-ear{
    border-bottom: blueviolet 50px solid;
}
.card-two .card-ear{
    border-bottom: greenyellow 50px solid;
}
.card-three .card-ear{
    border-bottom: red 50px solid;
}
.card div > .card-header {
    justify-items: center;
}
.accordeon-container button{
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    color: darkslategray;
    cursor: pointer;
    align-items: center;
}
.accordeon-container button:hover{
    text-decoration: solid;
}
.accordeon-container button:focus{
    text-decoration: solid;
}
@media (min-width: 1000px) {
    .cards-container{
        justify-content: space-around;
    }
    .cards-container .card{
        width: 400px;
    }
}
@media (max-width: 600px) {
    .accordeon-container{
        width: 100%;
    }
}