/* Custom avatar styling */
.avatar-preview img {
    border-radius: 50%;
    border: 3px solid #f0f0f1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.alert {
    outline-width: 0!important;
}

/* Drag and Drop Overlay */
.cfu-drag-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.cfu-drag-overlay.active {
    display: flex;
}

.cfu-drag-overlay-content {
    text-align: center;
    padding: 60px 80px;
    border: 3px dashed #ccc;
    border-radius: 16px;
}

.cfu-drag-icon {
    font-size: 64px;
    color: #0d6efd;
    display: block;
    margin-bottom: 16px;
}

.cfu-drag-heading {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.cfu-drag-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Bounce-in Animation */
@keyframes cfuBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.cfu-bounce-in {
    animation: cfuBounceIn 0.6s ease-out forwards;
}

.cfu-drag-heading.cfu-bounce-in {
    animation-delay: 0.05s;
}

.cfu-drag-subtitle.cfu-bounce-in {
    animation-delay: 0.1s;
}