/* --- FILE UPLOAD PAGE CUSTOM STYLES --- */

/* Drag & Drop Dropzone Styles */
.dropzone-area {
    border: 2px dashed #cbd5e1;
    background-color: #f8fafc;
    border-radius: 1rem;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.dropzone-area:hover {
    border-color: var(--color-brand-500);
    background-color: #f1f5f9;
}

.dropzone-area.drag-over {
    border-color: var(--color-brand-500);
    background-color: var(--color-brand-50);
}

/* Dark Mode Dropzone */
.dark .dropzone-area {
    border-color: #334155;
    background-color: #1a1a1a;
}

.dark .dropzone-area:hover {
    border-color: var(--color-brand-500);
    background-color: #222222;
}

.dark .dropzone-area.drag-over {
    border-color: var(--color-brand-500);
    background-color: rgba(59, 130, 246, 0.08);
}

/* Avatar Upload Circle (Rounded Full Preview) */
.avatar-upload-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.avatar-preview-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    border: 3px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

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

.dark .avatar-preview-wrapper {
    border-color: #2e2e2e;
    background-color: #222222;
}

.avatar-edit-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
    color: #ffffff;
    border-radius: 9999px;
}

.avatar-upload-container:hover .avatar-edit-overlay {
    opacity: 1;
}

.avatar-edit-overlay i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.avatar-edit-overlay span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Progress Meter and File Queues */
.upload-progress-bar {
    width: 0%;
    transition: width 0.3s ease;
}

/* Image Banner / Cover Area */
.banner-preview-box {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
}

.dark .banner-preview-box {
    border-color: #2e2e2e;
    background-color: #1a1a1a;
}
