* {

    margin: 0px; 
    padding: 0px;
}


.new-banner {

    background-color: #5149e5;
    color: white;
    font-weight: bold;
    padding: 4px;
    border: none;
    border-radius: 4px;

}

.remove-banner {


        background-color: #b81c29;
        color: white;
        font-weight: bold;
        padding: 4px;
        border: none;
        border-radius: 4px;
    
    
}

.banners-container {

    overflow-x: hidden;
}

.banner-status {

    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    color: black;
}

/* Estilo padrão para cards */
#banners-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banner-card {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.banner-card .banner-info {
    margin-top: 1rem;
}

.banner-card .banner-info span {
    display: block;
    font-size: 0.9rem;
    color: #555;
}

.banner-card .banner-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

/* Oculta a tabela em telas pequenas */
@media (max-width: 768px) {
    .table-responsive {
        display: none;
    }

    #banners-container {
        display: flex;
    }
}




#imageCropModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 800px;
}

.crop-container {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.upload-btn {

    padding: 8px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;

}

#closeModal {

    background-color: #dc3545;
    z-index: 1001;
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    border-radius: 0 0 0 8px;
    color: #fff;
    cursor: pointer;
    border: none;
    
}

