/* Estilizados */
.file-drop-area {
    border: 2px dashed #bbb;
    width: 100%;
    padding: 0.5rem 0.25rem;
    border-radius: 1rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: #fbfbfb;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.file-drop-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(13, 110, 253, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.file-drop-area:hover::before {
    transform: translateX(100%);
}

.file-drop-area:hover {
    border-color: #0d6efd;
    background-color: #f0f7ff;
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.file-drop-area i,
.file-drop-area svg {
    transition: transform 0.3s ease;
}

.file-drop-area:hover i,
.file-drop-area:hover svg {
    transform: translateY(-5px);
}

.file-drop-area.drag-over {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
}

.form-floating .select2-container--bootstrap-5 .select2-selection {
    min-height: calc(3.5rem + 2px);
    padding: 0.75rem;
}

.form-floating .select2-container--bootstrap-5 .select2-selection>.select2-selection__rendered {
    margin-top: 0.5rem;
    margin-left: 0.25rem;
}

.form-floating .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    padding: 0em 0.4em !important;
    margin-top: 0.5rem;
    margin-right: 0.1rem;
    margin-bottom: 0rem;
}

.select2 {
    width: 100% !important;
}

/* Adm capa */
.capa {
    /* The image used */
    background: linear-gradient(rgba(45, 28, 132, .5) 0%, rgba(45, 28, 132, .7) 66%, rgba(45, 28, 132, .8) 100%), url("../imagens/capa.webp");
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: top, left;
    background-repeat: no-repeat;
    background-size: cover;
}

/* File Handler Styles - Premium Edition */
.file-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 5px solid #0d6efd !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.file-item:hover {
    background-color: #ffffff !important;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-left-color: #0a58ca !important;
}

.file-item .preview-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.file-item:hover .preview-container {
    transform: scale(1.1);
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recebe-img {
    border: 2px dashed #bbb;
    border-radius: 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: #fbfbfb;
    position: relative;
    overflow: hidden;
}

.recebe-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(13, 110, 253, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.recebe-img:hover::before {
    transform: translateX(100%);
}

.recebe-img:hover {
    border-color: #0d6efd;
    background-color: #f0f7ff;
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.recebe-img i,
.recebe-img svg {
    transition: transform 0.3s ease;
}

.recebe-img:hover i,
.recebe-img:hover svg {
    transform: translateY(-5px);
}

/* Modal Adjustments */
#previewModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
}

#previewModal .modal-header {
    border-bottom: none;
}

#previewModal .modal-footer {
    border-top: none;
}