/* Upload Dropdown */
.upload-dropdown {
    position: relative;
    display: inline-block;
}

.upload-dropdown .btn-primary {
    display: flex;
    align-items: center;
    gap: 6px;
}

.upload-dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: var(--color-bg-surface);
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--color-shadow-md);
    border: 1px solid var(--color-border);
    z-index: 1000;
    overflow: hidden;
    animation: dropdownFadeIn 0.15s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    color: var(--color-text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
}

.upload-dropdown-item:hover {
    background: var(--color-border-light);
}

.upload-dropdown-item:active {
    background: var(--color-border);
}

.upload-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--color-text-subtle);
    font-size: 15px;
}

.upload-dropdown-item:first-child {
    border-bottom: 1px solid var(--color-border-light);
}

.upload-caret {
    margin-left: 4px;
    font-size: 12px;
}
