.image {
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


#logo_header {
    max-width: 6.5rem;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

.alert-soft-success {
    background-color: #e6f7e6;
    color: #2d8f2d;
    border-left: 5px solid #2d8f2d;
}

.alert-soft-danger {
    background-color: #fde8e8;
    color: #d9534f;
    border-left: 5px solid #d9534f;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Ajuste do botão de fechar */
.btn-close {
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: inherit;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adicionando um ícone de fechar */
.btn-close::before {
    content: '\2715'; /* Código do ícone "X" */
    font-size: 16px;
    font-weight: bold;
    color: inherit;
}

.btn-close:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .alert {
        font-size: 12px;
        padding: 10px;
    }
}


/* Upload de imagens do produto */
.upload-box {
    border: 2px dashed #ff6b00;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f8f8;
    cursor: pointer;
    position: relative;
}
.upload-box:hover {
    background-color: #f1f1f1;
}
.upload-box p {
    margin: 0;
    color: #555;
}
.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-start;
}
.image-wrapper {
    position: relative;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-bottom: 10px; /* Garante espaço para o select */
}
.image-wrapper img {
    width: 100%;
    max-height: 85%;
    object-fit: cover;
}
.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    width: 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.remove-btn:hover {
    background: rgba(255, 0, 0, 1);
}

.delete-form {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

input[type="file"] {
    display: none;
}
.color-select {
    width: 90%;
    padding: 5px;
}


